Selaa lähdekoodia

Merge branch 'feature_first_pages' of Web/contentCooper into master

jihuaqiang 7 tuntia sitten
vanhempi
commit
09fa40279b
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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}
 							onChange={setSelectedAccount}
 							allowClear
+							showSearch
+							filterOption={(input, option) =>
+								(option?.label ?? '').toLowerCase().includes(input.toLowerCase())
+							}
 							options={accountOptions.map(item => ({ label: item.name, value: item.id }))}
 						/>
 					</div>