菜单增加
This commit is contained in:
@@ -8,4 +8,5 @@ export const defaultAttribute = {
|
|||||||
columnConfig: { resizable: true },
|
columnConfig: { resizable: true },
|
||||||
rowConfig: { isCurrent: true, isHover: true },
|
rowConfig: { isCurrent: true, isHover: true },
|
||||||
scrollX: { scrollToLeftOnChange: true },
|
scrollX: { scrollToLeftOnChange: true },
|
||||||
|
treeConfig: {}
|
||||||
}
|
}
|
||||||
@@ -203,7 +203,7 @@ const init = async () => {
|
|||||||
title: '权限管理',
|
title: '权限管理',
|
||||||
name: 'auth',
|
name: 'auth',
|
||||||
path: 'auth',
|
path: 'auth',
|
||||||
icon: 'fa fa-group',
|
icon: 'fa-solid fa-layer-group',
|
||||||
menu_type: null,
|
menu_type: null,
|
||||||
url: '',
|
url: '',
|
||||||
component: '',
|
component: '',
|
||||||
@@ -257,7 +257,8 @@ const init = async () => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
handlerMenu(res.data)
|
handlerMenu(res.data)
|
||||||
handleAdminRoute([...arr, ...res.data])
|
handleAdminRoute(arr)
|
||||||
|
// handleAdminRoute([...arr, ...res.data])
|
||||||
|
|
||||||
// 预跳转到上次路径
|
// 预跳转到上次路径
|
||||||
if (route.params.to) {
|
if (route.params.to) {
|
||||||
|
|||||||
Reference in New Issue
Block a user