不校验版本号
This commit is contained in:
@@ -123,15 +123,17 @@
|
|||||||
},
|
},
|
||||||
async _pdaUpdate () {
|
async _pdaUpdate () {
|
||||||
let res = await pdaUpdate()
|
let res = await pdaUpdate()
|
||||||
if (res.versionName === this.version) {
|
// if (res.versionName === this.version) {
|
||||||
uni.showToast({
|
// uni.showToast({
|
||||||
title: '当前为最新版本',
|
// title: '当前为最新版本',
|
||||||
icon: 'none'
|
// icon: 'none'
|
||||||
})
|
// })
|
||||||
} else {
|
// } else {
|
||||||
this.grade = true
|
// this.grade = true
|
||||||
this.androidUrl = res.url
|
// this.androidUrl = res.url
|
||||||
}
|
// }
|
||||||
|
this.grade = true
|
||||||
|
this.androidUrl = res.url
|
||||||
},
|
},
|
||||||
closeUpdate () {
|
closeUpdate () {
|
||||||
this.grade = false
|
this.grade = false
|
||||||
|
|||||||
Reference in New Issue
Block a user