dev_forum
hjm 5 years ago
parent 8af1cd625c
commit 0f9cd35f97

@ -1316,13 +1316,19 @@ export default class TPMsettings extends Component {
// onMouseEnter={operateauthority?this.bigopen:""} // onMouseEnter={operateauthority?this.bigopen:""}
onSelect={operateauthority?this.bigopens:""} onSelect={operateauthority?this.bigopens:""}
// open={opers} // open={opers}
showSearch
optionFilterProp="children"
filterOption={(input, option) =>
option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0
}
> >
{ {
settingsData === undefined ? "" : settingsData.shixun.main_type.map((item, key) => { settingsData === undefined ? "" : settingsData.shixun.main_type.map((item, key) => {
return( return(
<Option value={item.id} key={key} title={item.description}>{item.type_name}</Option> <Option value={item.id} key={key} title={item.description} >{item.type_name}</Option>
) )
}) })
} }

Loading…
Cancel
Save