Commit f659e4da authored by 皮倩雯's avatar 皮倩雯

fix: '维保模板反馈名称不支持手动输入'

parent 93474318
Pipeline #78928 passed with stages
...@@ -937,30 +937,20 @@ const AddModal = props => { ...@@ -937,30 +937,20 @@ const AddModal = props => {
}, },
]} ]}
> >
<div style={{ display: 'flex' }}> <Select
<Item name="feedbackName" style={{ marginBottom: 0, width: '100%' }}> placeholder="请选择反馈名称"
<Select showSearch
placeholder="请选择反馈名称" allowClear
showSearch onChange={e => onChangeFeed(e, 1)}
allowClear >
onChange={e => onChangeFeed(e, 1)} {filed
> ? filed.map((item, index) => (
{filed <Option key={index} value={item}>
? filed.map((item, index) => ( {item}
<Option key={index} value={item}> </Option>
{item} ))
</Option> : ''}
)) </Select>
: ''}
</Select>
</Item>
{/* <Button
type="dashed"
onClick={() => pickFiled('feedbackName')}
icon={<PlusOutlined style={{ marginTop: '5px' }} />}
style={{ marginLeft: '10px', width: '70px' }}
/> */}
</div>
</Item> </Item>
</Col> </Col>
<Col span={24}> <Col span={24}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment