fix MkUserSetupDialog.Privacy.vue
This commit is contained in:
parent
1cc106b8de
commit
8ddae83c40
|
@ -37,8 +37,8 @@ let hideOnlineStatus = ref(false);
|
||||||
let noCrawle = ref(false);
|
let noCrawle = ref(false);
|
||||||
let preventAiLearning = ref(true);
|
let preventAiLearning = ref(true);
|
||||||
|
|
||||||
watch(isLocked, () => {
|
watch([isLocked, hideOnlineStatus, noCrawle, preventAiLearning], () => {
|
||||||
os.apiWithDialog('i/update', {
|
os.api('i/update', {
|
||||||
isLocked: !!isLocked.value,
|
isLocked: !!isLocked.value,
|
||||||
hideOnlineStatus: !!hideOnlineStatus.value,
|
hideOnlineStatus: !!hideOnlineStatus.value,
|
||||||
noCrawle: !!noCrawle.value,
|
noCrawle: !!noCrawle.value,
|
||||||
|
|
Loading…
Reference in New Issue