diff --git a/src/pages/order/list/list.js b/src/pages/order/list/list.js index 38bdbe56..61d64488 100644 --- a/src/pages/order/list/list.js +++ b/src/pages/order/list/list.js @@ -577,13 +577,6 @@ export default class orderList extends React.Component { // 监听组件内部状态的变化: componentDidUpdate(prevProps, prevState) { // 参数分别为改变之前的数据状态对象 - if (prevState.key_word != this.state.key_word && !this.state.key_word) { - this.getOrderFn() - } - if (prevState.option != this.state.option && !this.state.option) { - this.getOrderFn() - this.setState({ key_word: "" }) - } if (prevState.status != this.state.status) { this.getOrderFn() }