From d4a658bbe9f6a5b73c75aed75025c757f9e113f6 Mon Sep 17 00:00:00 2001 From: zhangyangguang Date: Fri, 30 Aug 2024 15:35:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=20=E9=87=8D=E6=96=B0=E6=BF=80?= =?UTF-8?q?=E6=B4=BB=E9=A1=B6=E9=83=A8=E8=8F=9C=E5=8D=95=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Settings/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue index ad3782cd..fe8e7793 100644 --- a/src/layout/components/Settings/index.vue +++ b/src/layout/components/Settings/index.vue @@ -96,7 +96,7 @@ function changeLayout(layout: string) { /** 重新激活顶部菜单 */ function againActiveTop(newVal: string) { const parent = findOutermostParent(permissionStore.routes, newVal); - if (appStore.activeTopMenu !== parent.path) { + if (appStore.activeTopMenuPath !== parent.path) { appStore.activeTopMenu(parent.path); } }