代码回滚

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
pageChange(e){
this.setState({page:e});
setTimeout(() => {
this.getCodeListFn();
}, 10);
}
//limit
countChange(e){
this.setState({page:1,limit:e});
setTimeout(() => {
this.getCodeListFn();
}, 10);
}
//敲回车查询
sureFn(){

View File

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