Vuex store.watch only accepts a function in Vue router guard

后端 未结 0 1146
闹比i
闹比i 2020-12-31 08:16

I am trying to watch and wait until Vue router guard will get final value from Vuex however it throws [vuex] store.watch only accepts a function

Here is the code:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题