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