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