💊 fix: 修复订单条件清除时报错

This commit is contained in:
wangsongsole 2023-07-07 20:13:30 +08:00
parent c4234b9a57
commit f0cc0e2c85
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ export default class orderList extends React.Component {
width="180px" width="180px"
value={this.state.option} value={this.state.option}
onChange={(e) => onChange={(e) =>
this.setState({ option: e, key_word: "", placeholder: e.placeholder }) this.setState({ option: e, key_word: "", placeholder: e && e.placeholder })
} }
disableSearch disableSearch
options={options} options={options}