Merge branch 'hotfix/2.12.1.2403.02' into release/2.12.1.2403.02

This commit is contained in:
黎永顺 2024-03-18 16:03:31 +08:00
commit 90bfeedba3
2 changed files with 6 additions and 2 deletions

View File

@ -152,7 +152,11 @@
padding: 0 !important;
}
.wea-select, .ant-select-selection, .ant-select {
.wea-select {
width: 200px !important;
}
.ant-select-selection, .ant-select {
width: 100%;
}

View File

@ -545,7 +545,7 @@ export const DataCollectionDatePicker = (props) => {
export const DataCollectionSelect = (props) => {
const { value, label, onChange, options, key, labelCol = 10, wrapperCol = 14, viewAttr = 2 } = props;
return <WeaFormItem label={label} labelCol={{ span: labelCol }} wrapperCol={{ span: wrapperCol }}>
<WeaSelect style={{ width: 200 }} value={value} onChange={(val) => onChange({ key, value: val })} options={options}
<WeaSelect value={value} onChange={(val) => onChange({ key, value: val })} options={options}
viewAttr={viewAttr}/>
</WeaFormItem>;
};