fix:修复 添加没有默认是设置多长时间,初始化前锁上设的什么时间在添加后就显示这个时间。如是关闭的再添加显示为0秒,打开进入界面异常
This commit is contained in:
parent
7d6b080573
commit
3035a53ff7
@ -187,6 +187,10 @@ class AutomaticBlockingLogic extends BaseGetXController {
|
|||||||
} else {
|
} else {
|
||||||
state.canNext.value = false;
|
state.canNext.value = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!openLock && (state.autoLockTime.value.isEmpty || state.autoLockTime.value == '0')) {
|
||||||
|
state.autoLockTime.value = '5';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user