瀏覽代碼

新增注释

loki.wu 1 年之前
父節點
當前提交
84b3c9b892
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      lib/pages/patient/create/controller.dart

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

@@ -97,6 +97,7 @@ class CreatePatientController extends FControllerBase with HomeNavMixin {
       busy = false;
       await queryIsNeedFaceInput();
       Future.delayed(
+        ///这个800ms不能移除,移除后会导致建档失败
         const Duration(milliseconds: 800),
         () {
           state.reset(); // 重置状态
@@ -111,6 +112,7 @@ class CreatePatientController extends FControllerBase with HomeNavMixin {
     // Get.find<HomeController>().switchNavByName("/patient/list");
     // Get.put(PatientListController());
     Future.delayed(
+      ///这个800ms不能移除,移除后会导致建档失败
       const Duration(milliseconds: 800),
       () {
         Get.find<PatientListController>().gotoDetail(code);