fix: 更新appUnlockOnline状态逻辑
This commit is contained in:
parent
2e23eaadd7
commit
beee0ba932
@ -446,6 +446,10 @@
|
|||||||
pending.value = false
|
pending.value = false
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
if (code === 0) {
|
if (code === 0) {
|
||||||
|
if (key === 'appUnlockOnline') {
|
||||||
|
$bluetooth.currentLockInfo.appUnlockOnline =
|
||||||
|
$bluetooth.currentLockSetting.lockSettingInfo[key] === 1 ? 0 : 1
|
||||||
|
}
|
||||||
$bluetooth.updateCurrentLockSetting({
|
$bluetooth.updateCurrentLockSetting({
|
||||||
...$bluetooth.currentLockSetting,
|
...$bluetooth.currentLockSetting,
|
||||||
lockSettingInfo: {
|
lockSettingInfo: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user