Browse Source

代码修改

林旭祥 1 ngày trước cách đây
mục cha
commit
164eb9add6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/router/permission.ts

+ 1 - 1
src/router/permission.ts

@@ -43,7 +43,7 @@ router.beforeEach(async (to, from, next) => {
       // 否则全部重定向到登录页
       if (to.path === '/gesture') {
         next(`/login/qrcode`);
-      }if (to.path === '/sunshineRun') {
+      }else if (to.path === '/sunshineRun') {
         next(`/login/sunshineRun`);
       } else {
         next(`/login`);