|
@@ -93,7 +93,7 @@ const routesRegister = (menus, defaultRoutes, router) => {
|
|
|
const __def = 'Layout'
|
|
|
const loadComponent = import.meta.glob('../views/**/*.vue')
|
|
|
for (const route of menus) {
|
|
|
- const { type, route_name, path, component, parent_id, i18n_code, type } = route
|
|
|
+ const { type, route_name, path, component, parent_id, i18n_code } = route
|
|
|
|
|
|
const hasRoute = defaultRoutes.find((f) => f.path === path)
|
|
|
if (hasRoute) continue
|