Merge branch 'master' of https://gitee.com/youlaiorg/vue3-element-admin into feature/noticews

This commit is contained in:
胡少翔
2024-09-05 09:48:33 +08:00
9 changed files with 131 additions and 51 deletions

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);
}
}