1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +00:00

modify state

This commit is contained in:
zxj96
2019-04-23 15:58:06 +08:00
parent 42362e9ece
commit 7245d9dcc5
3 changed files with 20 additions and 20 deletions

View File

@@ -73,7 +73,7 @@ class DirentGridView extends React.Component{
}
componentWillReceiveProps(nextProps) {
if (this.props.isCurrentPage) {
if (!this.props.isCurrentPage) {
this.setState({itemIdex: 100})
}
}