Browse Source

♻ refactor: fix redirec bug

good luck 3 năm trước cách đây
mục cha
commit
c839d97b8b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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',