优化gird代码 loading时间延长
This commit is contained in:
parent
a0d124b525
commit
24d8c1e754
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue