不校验版本号
This commit is contained in:
@@ -123,15 +123,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
|
||||
}
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user