pages/login/index.vue
@@ -152,12 +152,15 @@ // var ser = this.userServer.toLowerCase().split('/'); const res = await getApkVersionInfo(this.userServer) this.downloadUrl = res.dldUrl || "" var isver = this.compare(res.verNum, version); if (this.downloadUrl) { var isver = this.compare(res.verNum || "", version); if (isver) { this.$refs.promotion.open(); } else { console.log('当前已是最新版本') } } } catch (ex) { // console.log(ex); let exStr = JSON.stringify(ex)