Ver Fonte

建档成功后询问是否要人脸识别

loki.wu há 1 ano atrás
pai
commit
6b75330616
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      lib/pages/patient/create/controller.dart

+ 2 - 1
lib/pages/patient/create/controller.dart

@@ -94,6 +94,8 @@ class CreatePatientController extends FControllerBase with HomeNavMixin {
       PromptBox.toast("保存失败");
       return;
     } else {
+      busy = false;
+      await queryIsNeedFaceInput();
       Future.delayed(
         const Duration(milliseconds: 800),
         () {
@@ -101,7 +103,6 @@ class CreatePatientController extends FControllerBase with HomeNavMixin {
           busy = false;
           PromptBox.toast("保存成功");
           _patientListController.reloadList();
-          queryIsNeedFaceInput();
         },
       );
     }