mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 05:12:49 +00:00
perf: 优化App隐私政策提示
This commit is contained in:
parent
0b7d49785c
commit
62d1e676bd
@ -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()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user