mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 01:46:44 +08:00
退出清空调整
This commit is contained in:
2
App.vue
2
App.vue
@@ -23,7 +23,7 @@
|
||||
var href=location.href;
|
||||
//不包含登录页和加载页
|
||||
if(href.indexOf('/pages/login/login')==-1 && href.indexOf('/pages/login/loading')==-1){
|
||||
console.log('href='+href)
|
||||
//console.log('href='+href)
|
||||
//先做登录校验
|
||||
//每次加载,增加一次对token的验证,直接调用用户中心的接口,如果token不对,这里会直接返回登录
|
||||
//apiUserbasic.getUserInfo();
|
||||
|
||||
Reference in New Issue
Block a user