Skip to content

Commit

Permalink
#59 fix can not refresh moved folder list (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
githubnameting authored Dec 29, 2021
1 parent 118a965 commit 92654d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/MoveNotebook/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default class MoveNotebookModal extends Vue {
}
@Watch('notebookList', { deep: true })
onNotebookListChange (newVal) {
this.folderList[0].children = this.getFolderList(_.cloneDeep(newVal))
this.$set(this.folderList[0], 'children', this.getFolderList(_.cloneDeep(newVal)))
}
getChildrenById (id, list) {
Expand Down
2 changes: 1 addition & 1 deletion src/router/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const routes = [
{
path: '/',
redirect: { name: 'notebook' }
redirect: { name: 'home' }
},
{
name: 'login',
Expand Down

0 comments on commit 92654d7

Please sign in to comment.