字典管理
This commit is contained in:
@@ -138,6 +138,7 @@ const init = async () => {
|
||||
]
|
||||
const handlerMenu = (data: any) => {
|
||||
data.forEach((item: any) => {
|
||||
item.routePath = item.routePath[0] == '/' ? item.routePath.substring(1, item.routePath.length) : item.routePath
|
||||
item.path = item.routePath
|
||||
item.name = item.title
|
||||
item.keepalive = item.routePath
|
||||
|
||||
Reference in New Issue
Block a user