feat(Sidebar): remove border (#4382)

This commit is contained in:
neverland
2019-09-06 09:32:58 +08:00
committed by GitHub
parent 4e404144ed
commit ebf5a18eb9
3 changed files with 11 additions and 13 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
import { createNamespace } from '../utils';
import { ChildrenMixin } from '../mixins/relation';
import { route, routeProps } from '../utils/router';
import { BORDER } from '../utils/constant';
import Info from '../info';
const [createComponent, bem] = createNamespace('sidebar-item');
@@ -38,7 +37,7 @@ export default createComponent({
render() {
return (
<a
class={[bem({ select: this.select, disabled: this.disabled }), BORDER]}
class={bem({ select: this.select, disabled: this.disabled })}
onClick={this.onClick}
>
<div class={bem('text')}>