|
|
@ -89,7 +89,7 @@ export default { |
|
|
|
loginType:"mobile", |
|
|
|
}, |
|
|
|
|
|
|
|
versionCode:"", |
|
|
|
versionCode:null, |
|
|
|
appDownLoadUrl:"", |
|
|
|
isShowModal:false, |
|
|
|
modalOptions:{ |
|
|
@ -143,6 +143,8 @@ export default { |
|
|
|
params:{type:1} |
|
|
|
}) |
|
|
|
if(res.statu){ |
|
|
|
console.log(res.data.appVersionCode,'当前运行版本号----') |
|
|
|
console.log(res.data.appVersionCode,'最新版本号----') |
|
|
|
if(res.data.appVersionCode > this.versionCode){ |
|
|
|
this.isShowModal=true |
|
|
|
this.appDownLoadUrl=host("version",res.data.appDownloadUrl) |
|
|
|