1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

add wiki outline (#2263)

This commit is contained in:
shanshuirenjia
2018-08-10 17:05:29 +08:00
committed by Daniel Pan
parent 87eb52a094
commit 7bd164f0e1
8 changed files with 334 additions and 20 deletions

View File

@@ -108,7 +108,9 @@ class Wiki extends Component {
}
onpopstate = (event) => {
this.loadFile(event.state.filePath);
if (event.state && event.state.filePath) {
this.loadFile(event.state.filePath);
}
}
onMenuClick = () => {