Forráskód Böngészése

判断问题修复

liukai 4 hónapja
szülő
commit
ba11d7a131

+ 1 - 1
packages/cpt_labour/lib/modules/labour_request_add/labour_request_add_page.dart

@@ -111,7 +111,7 @@ class _LabourRequestAddState extends BaseState<LabourRequestAddPage, LabourReque
                           mainAxisAlignment: MainAxisAlignment.start,
                           children: [
                             MyTextView(
-                              state.selectedTemplateId == null || state.selectedTemplateId != "0"
+                              state.selectedTemplateId == null || state.selectedTemplateId == "0"
                                   ? ""
                                   : state.labReqOption!.templateList
                                           .firstWhere((element) => element.value.toString() == state.selectedTemplateId,