perf: 优化App隐私政策提示

This commit is contained in:
kuaifan 2025-03-28 19:35:12 +08:00
parent 0b7d49785c
commit 62d1e676bd

View File

@ -473,12 +473,11 @@ export default {
},
async setServerUrl(value) {
await $A.IDBSet("cachePrivacyShow", value ? "no" : "yes")
//
if (value != this.cacheServerUrl) {
await $A.IDBSet("cacheServerUrl", value)
$A.reloadUrl();
if (value == this.cacheServerUrl) {
return
}
await $A.IDBSet("cacheServerUrl", value)
$A.reloadUrl();
},
isNotServer() {
@ -511,6 +510,7 @@ export default {
if (agree) {
this.privacyShow = false
this.chackServerUrl().catch(_ => {});
$A.IDBSet("cachePrivacyShow", "no")
} else {
$A.eeuiAppGoDesktop()
}