소스 검색

♻ refactor: fix redirec bug

good luck 3 년 전
부모
커밋
c839d97b8b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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',