From dbdf4f80ae337c27a8ca4fb70180bf5d5ce8c66d Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Fri, 28 Oct 2022 16:20:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E5=85=91=E6=8D=A2?= =?UTF-8?q?=E7=A0=81=E5=88=97=E8=A1=A8=E6=9D=A1=E4=BB=B6=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=20=E7=BF=BB=E9=A1=B5=E6=95=B0=E6=8D=AE=E6=9C=AA=E9=87=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/exchangecode/list/list.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/exchangecode/list/list.js b/src/pages/exchangecode/list/list.js index f4cede5c..8a259ec4 100644 --- a/src/pages/exchangecode/list/list.js +++ b/src/pages/exchangecode/list/list.js @@ -203,9 +203,9 @@ export default class acclist extends React.Component { //敲回车查询 sureFn() { - this.setState({ page: 1 }) - this.setState({ limit: 10 }) - this.getCodeListFn() + this.setState({ page: 1, limit: 10 }, () => { + this.getCodeListFn() + }) } //作废