Bläddra i källkod

创建gzh计划时也支持账号检索

jihuaqiang 2 veckor sedan
förälder
incheckning
032d421a83

+ 4 - 0
src/views/publishContent/weGZH/components/publishPlanModal/index.tsx

@@ -160,6 +160,10 @@ const AddPunlishPlanModal: React.FC<AddPunlishPlanModalProps> = ({ visible, isSu
 							allowClear
 							disabled={actionType === 'edit'}
 							className='!w-50'
+							showSearch
+							filterOption={(input, option) =>
+								(option?.label ?? '').toLowerCase().includes(input.toLowerCase())
+							}
 							options={accountOptions.map(option => ({ label: option.name, value: option.id }))}>
 						</Select>
 					</Form.Item>