fix: 🐛 重新激活顶部菜单判断错误
This commit is contained in:
1 parent
0216a97cb2
commit
d4a658bbe9
1 file changed
+1
-1
@@ -96,7 +96,7 @@ function changeLayout(layout: string) {
|
|||||||
/** 重新激活顶部菜单 */
|
/** 重新激活顶部菜单 */
|
||||||
function againActiveTop(newVal: string) {
|
function againActiveTop(newVal: string) {
|
||||||
const parent = findOutermostParent(permissionStore.routes, newVal);
|
const parent = findOutermostParent(permissionStore.routes, newVal);
|
||||||
if (appStore.activeTopMenu !== parent.path) {
|
if (appStore.activeTopMenuPath !== parent.path) {
|
||||||
appStore.activeTopMenu(parent.path);
|
appStore.activeTopMenu(parent.path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user