diff --git a/src/sidebar-item/index.js b/src/sidebar-item/index.js index 16950ed4a..3711310d2 100644 --- a/src/sidebar-item/index.js +++ b/src/sidebar-item/index.js @@ -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 (
diff --git a/src/sidebar/index.js b/src/sidebar/index.js index 89a80fcdd..e9c361df7 100644 --- a/src/sidebar/index.js +++ b/src/sidebar/index.js @@ -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
{this.slots()}
; + return
{this.slots()}
; } }); diff --git a/src/sidebar/test/__snapshots__/demo.spec.js.snap b/src/sidebar/test/__snapshots__/demo.spec.js.snap index b8a4ba9f2..e9b4d49a5 100644 --- a/src/sidebar/test/__snapshots__/demo.spec.js.snap +++ b/src/sidebar/test/__snapshots__/demo.spec.js.snap @@ -6,15 +6,15 @@ exports[`renders demo correctly 1`] = `