fix:添加锁后更新锁列表
This commit is contained in:
parent
557576ea5e
commit
df215dda60
@ -503,7 +503,7 @@ class SaveLockLogic extends BaseGetXController {
|
||||
'pageName': 'saveLock'
|
||||
});
|
||||
} else {
|
||||
eventBus.fire(RefreshLockListInfoDataEvent(clearScanDevices: true));
|
||||
eventBus.fire(RefreshLockListInfoDataEvent(clearScanDevices: true,isUnShowLoading: true));
|
||||
Future<void>.delayed(const Duration(seconds: 1), () {
|
||||
Get.close(state.isFromMap == 1
|
||||
? (CommonDataManage().seletLockType == 0 ? 4 : 5)
|
||||
@ -519,7 +519,7 @@ class SaveLockLogic extends BaseGetXController {
|
||||
});
|
||||
}
|
||||
} else {
|
||||
eventBus.fire(RefreshLockListInfoDataEvent(clearScanDevices: true));
|
||||
eventBus.fire(RefreshLockListInfoDataEvent(clearScanDevices: true,isUnShowLoading: true));
|
||||
Future<void>.delayed(const Duration(seconds: 1), () {
|
||||
Get.close(state.isFromMap == 1
|
||||
? (CommonDataManage().seletLockType == 0 ? 4 : 5)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user