diff --git a/pages/home/login.vue b/pages/home/login.vue index 33dc676..f8455d3 100644 --- a/pages/home/login.vue +++ b/pages/home/login.vue @@ -125,7 +125,6 @@ export default { }) if(res.statu){ this.$store.dispatch("getUserInfo",res.data.token) - // uni.switchTab({url:'/pages/home/index'}) }else{ uni.showModal({ title:"提示", @@ -141,7 +140,6 @@ export default { params:{type:1} }) if(res.statu){ - console.log(res.data.appVersionCode,'----appVersion--') if(res.data.appVersionCode!=this.versionCode){ this.isShowModal=true this.appDownLoadUrl=host("version",res.data.appDownloadUrl) diff --git a/store/index.js b/store/index.js index 28945e9..f4786bc 100644 --- a/store/index.js +++ b/store/index.js @@ -63,7 +63,6 @@ export default new Vuex.Store({ timer=setTimeout(()=>dispatch('getSysMsg'),30*60*1000) }, async getUserInfo({commit},val){ - console.log(val,'------------token---------------') if(val){ var res=await request("/common/api/dict/queryUserInfoByToken",{ params:{token:val}