|
|
@ -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; |
|
|
|
} |
|
|
|