fix:修复打开 App 设备列表有加载页
This commit is contained in:
parent
15f98ca9bd
commit
4765f36975
@ -148,7 +148,7 @@ class _MyAppState extends State<MyApp> with WidgetsBindingObserver, BaseWidget {
|
||||
// AppLog.log('App--->进入前台');
|
||||
if (Get.isRegistered<LockMainLogic>()) {
|
||||
//进入前台刷新如果存在锁列表则刷新,顺便判断 token 是否过期
|
||||
Get.find<LockMainLogic>().getStarLockInfo();
|
||||
Get.find<LockMainLogic>().getStarLockInfo(isUnShowLoading: true);
|
||||
}
|
||||
break;
|
||||
case AppLifecycleState.detached:
|
||||
|
||||
@ -38,7 +38,7 @@ class AppUnlockNeedMobileNetworkingLockLogic extends BaseGetXController {
|
||||
|
||||
//刷新锁列表,更新锁详情--手机需联网标识
|
||||
if (Get.isRegistered<LockMainLogic>()) {
|
||||
Get.find<LockMainLogic>().getStarLockInfo();
|
||||
Get.find<LockMainLogic>().getStarLockInfo(isUnShowLoading: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user