fix(consignment): 下拉字段恢复按钮组展示
This commit is contained in:
@@ -725,16 +725,7 @@ export default function WorkerConsignmentPage() {
|
|||||||
: []),
|
: []),
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
{field.type === 'select' ? (
|
{field.type === 'select' || field.type === 'radio' ? (
|
||||||
<Select
|
|
||||||
className="worker-consignment-select"
|
|
||||||
options={options}
|
|
||||||
placeholder={field.placeholder || `请选择${field.label}`}
|
|
||||||
allowClear
|
|
||||||
showSearch
|
|
||||||
optionFilterProp="label"
|
|
||||||
/>
|
|
||||||
) : field.type === 'radio' ? (
|
|
||||||
<Radio.Group
|
<Radio.Group
|
||||||
className={`worker-consignment-chips${isCountField ? ' is-count' : ''}`}
|
className={`worker-consignment-chips${isCountField ? ' is-count' : ''}`}
|
||||||
optionType="button"
|
optionType="button"
|
||||||
|
|||||||
Reference in New Issue
Block a user