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