diff --git a/src/router/index.js b/src/router/index.js index 7bd960b..a99b3a5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -57,7 +57,7 @@ export const constantRoutes = [ { path: '', component: Layout, - redirect: 'index', + redirect: '/index', children: [ { path: '/index', @@ -160,4 +160,4 @@ const router = createRouter({ }, }); -export default router; \ No newline at end of file +export default router;