修正我在想想退回时页面闪过

This commit is contained in:
tanghong668 2023-12-02 12:33:38 +08:00
parent 3600f2ea41
commit b1832f04ff

View File

@ -247,7 +247,7 @@ class SelectController extends GetxController {
recommend.value = false; recommend.value = false;
confirmTitle.value = '你的梦想职业是'; confirmTitle.value = '你的梦想职业是';
showOccupationName.value = true; showOccupationName.value = true;
await Future.delayed(const Duration(milliseconds: 1000)); await Future.delayed(const Duration(milliseconds: 1500));
showOccupationName.value = false; showOccupationName.value = false;
} }
@ -307,7 +307,7 @@ class SelectController extends GetxController {
await setStep(); await setStep();
textController.text = ''; textController.text = '';
if (allAnswer.value) { if (allAnswer.value) {
await Future.delayed(const Duration(milliseconds: 1000)); await Future.delayed(const Duration(milliseconds: 1500));
for (var questionAnswer in questionAnswers) { for (var questionAnswer in questionAnswers) {
questionAnswer.update((val) { questionAnswer.update((val) {
val!.display = false; val!.display = false;