瀏覽代碼

代码修改

林旭祥 3 天之前
父節點
當前提交
164eb9add6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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`);