浏览代码

test code

hare8999@163.com 2 年之前
父节点
当前提交
16d02381f6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/permission.js

+ 1 - 1
src/permission.js

@@ -56,7 +56,7 @@ router.beforeEach((to, from, next) => {
     // 没有token
     if (whiteList.indexOf(to.path) !== -1) {
       // 在免登录白名单,直接进入
-      if (!uaWhiteList.includes(to.path)) uaredirect()
+      // if (!uaWhiteList.includes(to.path)) uaredirect() // TODO: hht 22.7.4 临时注释测试班牌打不开的问题
       next()
     } else {
       // next()