diff --git a/pages/home/login.vue b/pages/home/login.vue index 1125bc1..5a26bb6 100644 --- a/pages/home/login.vue +++ b/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)