mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 17:33:18 +00:00
modify state
This commit is contained in:
@@ -73,7 +73,7 @@ class DirentGridView extends React.Component{
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
if (this.props.isCurrentPage) {
|
||||
if (!this.props.isCurrentPage) {
|
||||
this.setState({itemIdex: 100})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user