菜单增加

This commit is contained in:
仲么了
2024-01-03 09:17:58 +08:00
parent cd98dc3fa3
commit 3c4f9acc84
2 changed files with 4 additions and 2 deletions

View File

@@ -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) {