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,6 +1,5 @@
import { createNamespace } from '../utils';
import { ParentMixin } from '../mixins/relation';
import { BORDER_TOP_BOTTOM } from '../utils/constant';
const [createComponent, bem] = createNamespace('sidebar');
@@ -19,6 +18,6 @@ export default createComponent({
},
render() {
return <div class={[bem(), BORDER_TOP_BOTTOM]}>{this.slots()}</div>;
return <div class={bem()}>{this.slots()}</div>;
}
});