diff --git a/src/router/modules/demo.ts b/src/router/modules/demo.ts index 6034e4c1..ab4e9ab1 100644 --- a/src/router/modules/demo.ts +++ b/src/router/modules/demo.ts @@ -1,5 +1,5 @@ export default { - path: '', - name: 'app', + path: '/', + name: 'dmeo', component: () => import('@/App'), } diff --git a/src/router/routes.ts b/src/router/routes.ts index 27ac5500..21d258ce 100644 --- a/src/router/routes.ts +++ b/src/router/routes.ts @@ -1,6 +1,10 @@ -import autoLayoutChildrenRoutes from './modules/index' - -export const constantRoutes = autoLayoutChildrenRoutes +export const constantRoutes = [ + { + path: '/', + name: 'demo-active', + component: () => import('@/App'), + }, +] /** *