fix: 更新appUnlockOnline状态逻辑

This commit is contained in:
fanpeng 2025-07-08 10:33:26 +08:00
parent 2e23eaadd7
commit beee0ba932

View File

@ -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: {