From 5c5cd996f4e146fc53c0717022d6fe3c319cbe4b Mon Sep 17 00:00:00 2001 From: pengda <1111@qq.com> Date: Tue, 2 Sep 2025 10:18:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E8=88=AA=E6=8E=A5=E5=85=A5=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 1e540f7..23dffc5 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -560,9 +560,9 @@ router.beforeEach((to, from, next) => { // 一级页面 侧边栏显示 统一化 if (first_child_router.length > 0) { first_child_router.forEach(item => { - if (item.path == to.path) { + if (item.path === to.path) { store.commit('SET_CUSTOMIZE', false); - store.commit('SET_SLIDER_MENU', 'menuData'); + // store.commit('SET_SLIDER_MENU', 'menuData'); } }) }