Browse Source

♻ refactor: fix redirec bug

good luck 3 years ago
parent
commit
c839d97b8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/router/index.js

+ 1 - 1
src/router/index.js

@@ -39,7 +39,7 @@ export const asyncRoutes = [
   {
     path: '/',
     component: Layout,
-    redirect: 'index',
+    redirect: '/index',
     children: [
       {
         path: 'index',