3 커밋 77066de178 ... 88106d2176

작성자 SHA1 메시지 날짜
  WanGxC 88106d2176 Merge branch 'dev' 5 달 전
  WanGxC 03b634a1ee Merge branch 'cheney' into dev 5 달 전
  WanGxC bf8416d1dd fix(router): 修复首页重复访问问题 5 달 전
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/router/index.ts

+ 2 - 0
src/router/index.ts

@@ -109,6 +109,8 @@ router.beforeEach(async (to, from, next) => {
         } else if (token && to.path === '/login') {
             next('/home');
             NProgress.done();
+        } else if (token && to.path === '/') {
+            next('/home');
         } else {
 
             const storesRoutesList = useRoutesList(pinia);