no message

This commit is contained in:
kuaifan 2025-07-30 21:55:49 +08:00
parent a437e3cbd3
commit a0579318bd
2 changed files with 18 additions and 2 deletions

View File

@ -126,6 +126,8 @@ export default {
data() {
return {
appInter: null,
appActivated: true,
countDown: Math.min(30, 60 - $A.daytz().second()),
lastCheckUpgradeYmd: $A.daytz().format('YYYY-MM-DD'),
}
@ -615,6 +617,7 @@ export default {
$A.eeuiAppHideWebviewSnapshot()
// APP
window.__onAppActive = () => {
this.appActivated = true
this.autoTheme()
$A.updateTimezone()
$A.IDBTest()
@ -628,7 +631,20 @@ export default {
}
// APP
window.__onAppDeactive = () => {
$A.eeuiAppGetWebviewSnapshot(ok => ok && $A.eeuiAppShowWebviewSnapshot());
this.appActivated = false
setTimeout(() => {
if (this.appActivated) {
// APP
return;
}
$A.eeuiAppGetWebviewSnapshot(ok => {
if (!ok || this.appActivated) {
// APP
return;
}
$A.eeuiAppShowWebviewSnapshot()
});
}, 500);
}
//
window.__onPagePause = () => {

@ -1 +1 @@
Subproject commit 494233074d001a8049b6b2cab9006fd517cd3ed4
Subproject commit cbb7f4208aee524f27a178655a261796ab39f94a