fix: use async action to change current list
This commit is contained in:
parent
7f5f44d7f0
commit
a60ad77bdc
6 changed files with 8 additions and 8 deletions
|
|
@ -510,7 +510,7 @@ export default {
|
|||
},
|
||||
parent: {
|
||||
handler(parent) {
|
||||
this.$store.commit(CURRENT_LIST, parent !== null ? parent.list : this.currentList)
|
||||
this.$store.dispatch(CURRENT_LIST, parent !== null ? parent.list : this.currentList)
|
||||
},
|
||||
immediate: true,
|
||||
},
|
||||
|
|
|
|||
Reference in a new issue