Commit 4874fe45 authored by zhoumaotao's avatar zhoumaotao

Merge branch 'master' of gitlab.gavelinfo.com:lisu/xgdlapp

parents e1cccded 7721e45b
......@@ -13,6 +13,12 @@ const router = new Router({
const whiteList = ['/pages/login/update','/pages/login/login','/pages/login/fwqsz']
//全局路由前置守卫
router.beforeEach((to, from, next) => {
/* 清除所有定时器 */
let timer=setInterval(()=>{console.log(timer)},10000)
clearInterval(timer)
for(let i=0;i<=timer;i++){
clearInterval(i)
}
let token=uni.getStorageSync(ACCESS_TOKEN);
if(token){
next()
......
......@@ -80,7 +80,7 @@
}
});
} else {
this.$tip.alert("请先扫描有效托盘信息");
this.$tip.alert("请先扫描有效地码信息");
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment