mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
modify state
This commit is contained in:
@@ -71,7 +71,7 @@ class LibContentView extends React.Component {
|
||||
errorMsg: '',
|
||||
isDirentDetailShow: false,
|
||||
updateDetail: false,
|
||||
isCurrentPage: false,
|
||||
isCurrentPage: true,
|
||||
};
|
||||
|
||||
window.onpopstate = this.onpopstate;
|
||||
@@ -413,11 +413,11 @@ class LibContentView extends React.Component {
|
||||
}
|
||||
|
||||
scrollPage = () => {
|
||||
this.setState({isCurrentPage: false})
|
||||
this.setState({isCurrentPage: true})
|
||||
}
|
||||
|
||||
switchPage = () => {
|
||||
this.setState({isCurrentPage: true})
|
||||
this.setState({isCurrentPage: false})
|
||||
}
|
||||
|
||||
getThumbnails = (repoID, path, direntList) => {
|
||||
|
Reference in New Issue
Block a user