菜单路由动态加载 ook

This commit is contained in:
骑着蜗牛追导弹 2024-02-05 20:00:39 +08:00
parent 5a3e129a11
commit 481db1fa01
1 changed files with 0 additions and 1 deletions

View File

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