From ea99e2cb3a437bb773e6be64d5677b28ea39809d Mon Sep 17 00:00:00 2001 From: sjz-mxj <1375998991@qq.com> Date: Wed, 27 Sep 2023 19:56:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/login.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)