diff --git a/src/layout/index.vue b/src/layout/index.vue index 919c0f6..d74ed00 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -52,8 +52,8 @@ export default { }, classObj() { return { - hideSidebar: !this.sidebar.opened, - openSidebar: this.sidebar.opened, + hideSidebar: false, // 侧边栏始终展开 + openSidebar: true, // 侧边栏始终展开 withoutAnimation: this.sidebar.withoutAnimation, mobile: this.device === 'mobile' }