From b8f2ac37e0aa280dbc3f8e72887b5d2a1bdb60d5 Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期五, 07 三月 2025 14:57:17 +0800 Subject: [PATCH] qx --- src/layout/components/Sidebar/index.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 9509fc5..1d23080 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -2,8 +2,9 @@ <div :class="{'has-logo':showLogo}" :style="{ backgroundColor: settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }"> <logo v-if="showLogo" :collapse="isCollapse" /> <el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper"> + <!-- :default-openeds="['/tijian']" --> <el-menu - :default-openeds="['/tijian']" + :default-active="activeMenu" :collapse="isCollapse" :background-color="settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground" -- Gitblit v1.8.0