mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-16 05:52:49 +00:00
perf: 优化App隐私政策提示
This commit is contained in:
parent
0b7d49785c
commit
62d1e676bd
@ -473,12 +473,11 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
async setServerUrl(value) {
|
async setServerUrl(value) {
|
||||||
await $A.IDBSet("cachePrivacyShow", value ? "no" : "yes")
|
if (value == this.cacheServerUrl) {
|
||||||
//
|
return
|
||||||
if (value != this.cacheServerUrl) {
|
|
||||||
await $A.IDBSet("cacheServerUrl", value)
|
|
||||||
$A.reloadUrl();
|
|
||||||
}
|
}
|
||||||
|
await $A.IDBSet("cacheServerUrl", value)
|
||||||
|
$A.reloadUrl();
|
||||||
},
|
},
|
||||||
|
|
||||||
isNotServer() {
|
isNotServer() {
|
||||||
@ -511,6 +510,7 @@ export default {
|
|||||||
if (agree) {
|
if (agree) {
|
||||||
this.privacyShow = false
|
this.privacyShow = false
|
||||||
this.chackServerUrl().catch(_ => {});
|
this.chackServerUrl().catch(_ => {});
|
||||||
|
$A.IDBSet("cachePrivacyShow", "no")
|
||||||
} else {
|
} else {
|
||||||
$A.eeuiAppGoDesktop()
|
$A.eeuiAppGoDesktop()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user