Vuex state is empty on BeforeEnter

后端 未结 0 1167
Happy的楠姐
Happy的楠姐 2021-02-02 06:49

I am trying to get the state of my user in a BeforeEnter request to ensure they are logged in. Now, when I console log store.state.currentUser it shows the states o

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