Commit 39dcce1d authored by 张子雨's avatar 张子雨

feat: 修复选择器没有搜索数据

parent f37336eb
......@@ -61,6 +61,9 @@ const AddModal = props => {
placeholder="请选择微店"
onChange={handleChange}
options={options}
filterOption={(input, option) =>
(option?.label ?? '').toLowerCase().includes(input.toLowerCase())
}
/>
</Form.Item>
<Form.Item label="餐饮类型">
......
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