This commit is contained in:
2025-02-07 14:24:18 +08:00
parent d05e291350
commit dd198af72d
3 changed files with 273 additions and 274 deletions

View File

@@ -7,6 +7,7 @@ export default function() {
// #ifdef APP-PLUS
return new Promise((resolve, reject) => {
callCheckVersion().then(async (e) => {
console.log('hhhhhhhhhhhh', e)
if (!e.result) return;
const {
code,
@@ -64,7 +65,7 @@ export default function() {
uni.removeStorageSync(PACKAGE_INFO_KEY)
}
})
return
} else if (code < 0) {
// TODO 云函数报错处理
@@ -155,4 +156,4 @@ function updateUseModal(packageInfo) {
});
}
});
}
}