|
@@ -80,6 +80,10 @@ const ModalChannel: React.FC<Props> = ({ onChange, visible, onClose, initialValu
|
|
|
label: '头条小游戏',
|
|
|
}
|
|
|
]}
|
|
|
+ filterOption={(input, option) =>
|
|
|
+ ((option?.label ?? '') as any).toLowerCase().includes(input.toLowerCase())
|
|
|
+ }
|
|
|
+ showSearch
|
|
|
/>
|
|
|
</Form.Item>
|
|
|
{accountType && <Form.Item label={<strong>广告账号</strong>} name="accountIdList" rules={[{ required: true, message: '请输入广告账号!' }]}>
|
|
@@ -105,6 +109,7 @@ const ModalChannel: React.FC<Props> = ({ onChange, visible, onClose, initialValu
|
|
|
((option?.label ?? '') as any).toLowerCase().includes(input.toLowerCase())
|
|
|
}
|
|
|
allowClear
|
|
|
+ showSearch
|
|
|
options={appList}
|
|
|
/>
|
|
|
</Form.Item>
|
|
@@ -121,6 +126,10 @@ const ModalChannel: React.FC<Props> = ({ onChange, visible, onClose, initialValu
|
|
|
label: '投放结束',
|
|
|
}
|
|
|
]}
|
|
|
+ filterOption={(input, option) =>
|
|
|
+ ((option?.label ?? '') as any).toLowerCase().includes(input.toLowerCase())
|
|
|
+ }
|
|
|
+ showSearch
|
|
|
/>
|
|
|
</Form.Item>
|
|
|
<Form.Item label={<strong>回传策略</strong>} name="backPolicyId">
|
|
@@ -130,6 +139,10 @@ const ModalChannel: React.FC<Props> = ({ onChange, visible, onClose, initialValu
|
|
|
value: item.id,
|
|
|
label: item.backPolicyName,
|
|
|
}))}
|
|
|
+ filterOption={(input, option) =>
|
|
|
+ ((option?.label ?? '') as any).toLowerCase().includes(input.toLowerCase())
|
|
|
+ }
|
|
|
+ showSearch
|
|
|
/>
|
|
|
</Form.Item>
|
|
|
</Form>
|