转办报错修复

This commit is contained in:
何美荣 2025-12-22 15:21:52 +08:00
parent 7f8c1508c8
commit 1bfeccdd1d

View File

@ -131,7 +131,7 @@ class SelectUser extends React.Component {
style={{ width: 200 }} style={{ width: 200 }}
placeholder='选择人员' placeholder='选择人员'
onChange={this.selectChange} onChange={this.selectChange}
filterOption={(input, option) => option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0} filterOption={(input, option) =>option.props.children && option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0}
> >
{ {