fix:调整监控时保证获取到的是最新的锁配网信息
This commit is contained in:
parent
205ddd34f8
commit
9f43b3e7c1
@ -88,6 +88,8 @@ class _LockDetailPageState extends State<LockDetailPage>
|
||||
/// 路由订阅
|
||||
AppRouteObserver().routeObserver.subscribe(this, ModalRoute.of(context)!);
|
||||
state.isOpenLockNeedOnline.refresh();
|
||||
|
||||
logic.requestDeviceNetworkInfo();
|
||||
}
|
||||
|
||||
StreamSubscription? _lockRefreshLockDetailInfoDataEvent;
|
||||
|
||||
@ -109,6 +109,7 @@ class ConfiguringWifiLogic extends BaseGetXController {
|
||||
|
||||
switch (status) {
|
||||
case 0x00:
|
||||
await Storage.removeLockNetWorkInfoCache();
|
||||
final int secretKeyJsonLength = (reply.data[4] << 8) + reply.data[3];
|
||||
|
||||
final List<int> secretKeyList =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user