mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 14:49:43 +08:00
chore: update deps
This commit is contained in:
@@ -23,7 +23,7 @@ export function genRouteModule(moduleList: AppRouteModule[]) {
|
||||
for (const routeMod of moduleList) {
|
||||
const routes = routeMod.routes as any;
|
||||
const layout = routeMod.layout;
|
||||
const router = createRouter({ routes, history: createWebHashHistory() });
|
||||
let router = createRouter({ routes, history: createWebHashHistory() });
|
||||
|
||||
const flatList = toRaw(router.getRoutes()).filter((item) => item.children.length === 0);
|
||||
try {
|
||||
|
Reference in New Issue
Block a user