This commit is contained in:
aihe 2024-06-16 16:59:05 +08:00
parent e54cfeb34c
commit ad8d679b24

View File

@ -204,8 +204,10 @@
this.goto(`login/login`, 2) this.goto(`login/login`, 2)
}, },
async handleCheckAppVersion() { async handleCheckAppVersion() {
let res = await checkUpdate() let ckRes = await checkUpdate()
this.showToast('已经是最新版本,无需更新') if(!(ckRes.hasNewVersion && ckRes.url)) {
this.showToast('已经是最新版本,无需更新')
}
}, },
handleClearCache() { handleClearCache() {
// TODO // TODO