Browse Source

fix: 修复span错误

carver 2 years ago
parent
commit
4b1451e412

+ 2 - 2
antbuilder/industry/hospitalV2/components/add-inpatient-information/index.axml

@@ -9,7 +9,7 @@
                   onTap="{{ isEdit === 'NO' ? 'onChoosePatientRelation': '' }}"
                   style="{{ opacity: `${isEdit === 'YES' ? '0.4': '1'}`}}"
                 >
-                  <span>{{ form.relationShip }}</span>
+                  <text>{{ form.relationShip }}</text>
                   <view class="row-icon" a:if="{{ isEdit === 'NO' }}">
                       <am-icon type="right" size="20" color="#CCCCCC"/>
                   </view>
@@ -49,7 +49,7 @@
                 <view class="form-row-content">
                   <picker value="{{index}}" range="{{certTypes}}" disabled="{{ isEdit === 'YES' }}">
                     <view class="input-control span-input" style="{{ opacity: `${isEdit === 'YES' ? '0.4': '1'}`}}">
-                      <span>{{ form.idCardType }}</span>
+                      <text>{{ form.idCardType }}</text>
                       <am-icon a:if="{{ isEdit === 'NO' }}" size="18" type="right" color="#ccc" />
                     </view>
                   </picker>