Przeglądaj źródła

♻ refactor: fix redirec bug

good luck 3 lat temu
rodzic
commit
c839d97b8b
1 zmienionych plików z 1 dodań i 1 usunięć
  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',