Browse Source

打印查看

master
孙家正 1 year ago
parent
commit
ea99e2cb3a
  1. 4
      pages/home/login.vue

4
pages/home/login.vue

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

Loading…
Cancel
Save