Browse Source

删除打印

master
邓宏 1 year ago
parent
commit
64ab53e64d
  1. 2
      pages/home/login.vue
  2. 1
      store/index.js

2
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)

1
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}

Loading…
Cancel
Save