提交
This commit is contained in:
1 parent
59fafb92d5
commit
6abfb6e251
1512 files changed
+1565614
-275592
No files matched your search
@@ -55,11 +55,8 @@ export const useMenuStore = defineStore('menuStore', () => {
|
||||
*/
|
||||
const setMenuList = (list: AppRouteRecord[]) => {
|
||||
menuList.value = list
|
||||
if (HOME_PAGE_PATH) {
|
||||
setHomePath(HOME_PAGE_PATH)
|
||||
} else {
|
||||
setHomePath(getPortalDefaultHomePath(list) || getFirstMenuPath(list))
|
||||
}
|
||||
// 登录 / `#/` 默认落到侧栏「首页」之后的第一个业务菜单,而不是门户首页 /home
|
||||
setHomePath(getPortalDefaultHomePath(list) || getFirstMenuPath(list) || HOME_PAGE_PATH)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user