diff --git a/pages/setting/setting.vue b/pages/setting/setting.vue index a2afb14..425316b 100644 --- a/pages/setting/setting.vue +++ b/pages/setting/setting.vue @@ -446,6 +446,10 @@ pending.value = false uni.hideLoading() if (code === 0) { + if (key === 'appUnlockOnline') { + $bluetooth.currentLockInfo.appUnlockOnline = + $bluetooth.currentLockSetting.lockSettingInfo[key] === 1 ? 0 : 1 + } $bluetooth.updateCurrentLockSetting({ ...$bluetooth.currentLockSetting, lockSettingInfo: {