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)
},
async handleCheckAppVersion() {
let res = await checkUpdate()
this.showToast('已经是最新版本,无需更新')
let ckRes = await checkUpdate()
if(!(ckRes.hasNewVersion && ckRes.url)) {
this.showToast('已经是最新版本,无需更新')
}
},
handleClearCache() {
// TODO