diff --git a/src/pages/order/list/list.js b/src/pages/order/list/list.js index 8497ba69..571759e0 100644 --- a/src/pages/order/list/list.js +++ b/src/pages/order/list/list.js @@ -420,9 +420,8 @@ export default class orderlist extends React.Component { againinvestFn(e, row) {} //清空 clearFn() { - this.setState({ selectiondata: [] }) - this.setState({ allcheck: false }) - this.setState({ itemcheck: false }) + this.setState({ selectiondata: [],allcheck: false,itemcheck: false }) + this.refs.orderList.allChecked(false) } //选择时间 @@ -432,16 +431,15 @@ export default class orderlist extends React.Component { } //page pageChange(e) { - this.setState({ page: e }) - this.setState({ selectiondata: [] }) + this.setState({ page: e,selectiondata: [] }) + this.refs.orderList.allChecked(false) setTimeout(() => { this.getOrderFn() }, 0) } //limit countChange(e) { - this.setState({ page: 1, limit: e }) - this.setState({ selectiondata: [] }) + this.setState({ page: 1, limit: e,selectiondata: [] }) setTimeout(() => { this.getOrderFn() }, 0) @@ -659,6 +657,7 @@ export default class orderlist extends React.Component { page={this.state.page} countbarVisible={false} isSwitch={false} + ref="orderList" maxheight={this.state.tableHeight} pageChange={(e) => { this.pageChange(e) diff --git a/营销系统修改key列表bug.zip b/营销系统修改key列表bug.zip new file mode 100644 index 00000000..2a8ebeff Binary files /dev/null and b/营销系统修改key列表bug.zip differ