diff --git a/manifest.json b/manifest.json index d3ce9c9..874b87c 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "株洲中钨", "appid" : "__UNI__B609253", "description" : "株硬粉末LMS手持系统", - "versionName" : "1.0.2", - "versionCode" : 102, + "versionName" : "1.0.3", + "versionCode" : 103, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/login/login.vue b/pages/login/login.vue index caa53d2..5b6c36e 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -110,17 +110,17 @@ }, async _pdaUpdate () { let res = await pdaUpdate() - // if (res.versionName === this.version) { - // uni.showToast({ - // title: '当前为最新版本', - // icon: 'none' - // }) - // } else { - // this.grade = true - // this.androidUrl = res.url - // } - this.grade = true - this.androidUrl = res.url + if (res.versionName === this.version) { + uni.showToast({ + title: '当前为最新版本', + icon: 'none' + }) + } else { + this.grade = true + this.androidUrl = res.url + } + // this.grade = true + // this.androidUrl = res.url }, closeUpdate () { this.grade = false