Browse Source

计划看板校验过滤

pull/149/head
liwei 3 years ago
parent
commit
a535129590
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/permission.js

+ 1
- 1
src/permission.js View File

@ -18,7 +18,7 @@ router.beforeEach(async(to, from, next) => {
// determine whether the user has logged in
const hasToken = getToken();
// 如果是大屏展示,直接跳转至页面
if(to.path=='/datal' || to.path=='/dataL'){
if(to.path.toLowerCase()=='/datal' || to.path.toLowerCase()=='/datap'){
next();
return;
}


Loading…
Cancel
Save