提交bug代码

This commit is contained in:
魏少阳 2024-01-03 16:20:55 +08:00
parent 55c65e4590
commit 7d32a40f59
4 changed files with 7 additions and 2 deletions

View File

@ -52,6 +52,7 @@
<activity
android:name=".MainActivity"
android:exported="true"
android:screenOrientation="portrait"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"

View File

@ -78,7 +78,7 @@ class LockMainLogic extends BaseGetXController {
// }
// }
// page++;
// Future.delayed(const Duration(milliseconds: 200));
if(entity.data!.groupList!.isEmpty){
state.dataLength.value = 0;
}else if(entity.data!.groupList!.length == 1){

View File

@ -94,6 +94,8 @@ class _StarLockMainPageState extends State<StarLockMainPage> with BaseWidget {
returnWidget = const NoData();
break;
}
// Future.delayed(const Duration(seconds: 1));
// Future.delayed(const Duration(milliseconds: 200));
return returnWidget;
}

View File

@ -193,7 +193,9 @@ class SaveLockLogic extends BaseGetXController {
);
if (entity.errorCode!.codeIsSuccessful) {
eventBus.fire(RefreshLockListInfoDataEvent());
Get.offAllNamed(Routers.starLockMain);
Future.delayed(const Duration(milliseconds: 200), () {
Get.offAllNamed(Routers.starLockMain);
});
}
}