fix: 🐛 重新激活顶部菜单判断错误

This commit is contained in:
zhangyangguang committed 2024-08-30 15:35:05 +08:00
1 parent 0216a97cb2
commit d4a658bbe9
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
}