mirror of
https://github.com/yangzongzhuan/RuoYi-Vue.git
synced 2025-10-21 09:57:41 +00:00
优化代码
This commit is contained in:
@@ -57,9 +57,9 @@ export default {
|
||||
if (menu.hidden !== true) {
|
||||
// 兼容顶部栏一级菜单内部跳转
|
||||
if (menu.path === "/") {
|
||||
topMenus.push(menu.children[0]);
|
||||
topMenus.push(menu.children[0]);
|
||||
} else {
|
||||
topMenus.push(menu);
|
||||
topMenus.push(menu);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user