代码回滚

This commit is contained in:
red-deng-deng 2021-11-18 09:50:16 +08:00
parent c6880530ef
commit f9b2d5c876
2 changed files with 14 additions and 3 deletions

View File

@ -183,11 +183,17 @@ export default class acclist extends React.Component{
//page //page
pageChange(e){ pageChange(e){
this.setState({page:e}); this.setState({page:e});
setTimeout(() => {
this.getCodeListFn();
}, 10);
} }
//limit //limit
countChange(e){ countChange(e){
this.setState({page:1,limit:e}); this.setState({page:1,limit:e});
this.getCodeListFn();
setTimeout(() => {
this.getCodeListFn();
}, 10);
} }
//敲回车查询 //敲回车查询
sureFn(){ sureFn(){

View File

@ -235,12 +235,17 @@ export default class orderlist extends React.Component{
//page //page
pageChange(e){ pageChange(e){
this.setState({page:e}); this.setState({page:e});
this.getOrderFn(); setTimeout(() => {
this.getOrderFn();
}, 0);
} }
//limit //limit
countChange(e){ countChange(e){
this.setState({page:1,limit:e}); this.setState({page:1,limit:e});
this.getOrderFn(); setTimeout(() => {
this.getOrderFn();
}, 0);
} }
//敲回车查询 //敲回车查询
sureFn(){ sureFn(){