bug调整

This commit is contained in:
2024-12-02 15:31:06 +08:00
parent 4347f4b15b
commit d61559d5bb
5 changed files with 39 additions and 33 deletions

View File

@@ -47,8 +47,6 @@ export const getFirstRoute = (routes: RouteRecordRaw[], menuType = 'tab'): false
})
let find: boolean | RouteRecordRaw = false
for (const key in routes) {
console.log(`11111111`,routes[key].path);
if (
routes[key].meta?.type == 'menu' &&
routes[key].meta?.menu_type == menuType &&