魏熙美 5 anni fa
parent
commit
158e4b5d10
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      src/components/SelectButton/BuildSelect.jsx

+ 1
- 0
src/components/SelectButton/BuildSelect.jsx Vedi File

@@ -38,6 +38,7 @@ const BuildingSelect = (props) => {
38 38
         // 默认选中第一个
39 39
         if ((!preProps || !preProps.one) && props.one === 'true') {
40 40
           setValue(data.records[0].buildingId)
41
+          props.onChange(data.records[0].buildingId)
41 42
         }
42 43
     })
43 44
   }