소스 검색

Merge branch 'feature_first_pages' of Web/contentCooper into master

jihuaqiang 7 시간 전
부모
커밋
09fa40279b
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/views/publishContent/weGZH/index.tsx

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

@@ -188,6 +188,10 @@ const WeGZHContent: React.FC = () => {
 							value={selectedAccount}
 							value={selectedAccount}
 							onChange={setSelectedAccount}
 							onChange={setSelectedAccount}
 							allowClear
 							allowClear
+							showSearch
+							filterOption={(input, option) =>
+								(option?.label ?? '').toLowerCase().includes(input.toLowerCase())
+							}
 							options={accountOptions.map(item => ({ label: item.name, value: item.id }))}
 							options={accountOptions.map(item => ({ label: item.name, value: item.id }))}
 						/>
 						/>
 					</div>
 					</div>