From 24d8c1e7542103baa0f5f59b1c4545a0e9bb31ff Mon Sep 17 00:00:00 2001 From: wangsongsole Date: Wed, 24 Aug 2022 09:37:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96gird=E4=BB=A3=E7=A0=81=20load?= =?UTF-8?q?ing=E6=97=B6=E9=97=B4=E5=BB=B6=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/gird/main.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/gird/main.js b/src/components/gird/main.js index 48a46365..662bd117 100644 --- a/src/components/gird/main.js +++ b/src/components/gird/main.js @@ -303,7 +303,7 @@ export default class menu extends React.Component { this.setState({ pageLoading: true }) setTimeout(() => { this.setState({ pageLoading: false }) - }, 500) + }, 800) } pageShow(e) {} gridEditChange(e) {} @@ -558,17 +558,14 @@ export default class menu extends React.Component { count: this.props.dataCount }} onPrevClick={(e) => { - this.gridPageLoad() this.props.pageChange(e) }} page={this.props.page} pageFn={(e) => this.setState({ page: e })} onNextClick={(e) => { - this.gridPageLoad() this.props.pageChange(e) }} onJumpPage={(e) => { - this.gridPageLoad() this.props.pageChange(e) }} onCountChange={(e) => {