瀏覽代碼

0018594: 【web客户端】【基础检查】填写血氧和BMI的数值后,切换到其他检测项,再回到BMI和血氧,值都被清空了

finlay 11 月之前
父節點
當前提交
7ac87e3ced
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/pages/medical/widgets/body_weight_height.dart

+ 1 - 1
lib/pages/medical/widgets/body_weight_height.dart

@@ -121,7 +121,7 @@ class _ExamBodyWeightState extends State<BodyWeightHeight> {
     /// 体检系统 基础检查的特殊处理
     if (controller.diagnosisDataValue['Weight'] != null ||
         controller.diagnosisDataValue['Height'] != null ||
-        controller.diagnosisDataValue['BMI'] != null) {
+        controller.diagnosisDataValue['Bmi'] != null) {
       _weight = controller.diagnosisDataValue['Weight'] ?? '';
       _height = controller.diagnosisDataValue['Height'] ?? '';
       _bmi = controller.diagnosisDataValue['Bmi'] ?? '';