菜单路由动态加载 ook
This commit is contained in:
parent
5a3e129a11
commit
481db1fa01
|
@ -22,7 +22,6 @@ export default {
|
||||||
if (!focus && state.isLoaded) return
|
if (!focus && state.isLoaded) return
|
||||||
// 获取接口原始数据
|
// 获取接口原始数据
|
||||||
const menuTree = await api.queryAllMenus({})
|
const menuTree = await api.queryAllMenus({})
|
||||||
console.log('=================== loadXXXXXX')
|
|
||||||
// [ 菜单 ] 计算菜单
|
// [ 菜单 ] 计算菜单
|
||||||
const menuData = flushMenus(menuTree)
|
const menuData = flushMenus(menuTree)
|
||||||
const menus = supplementPath(menuData)
|
const menus = supplementPath(menuData)
|
||||||
|
|
Loading…
Reference in New Issue