Why can I use dayJS in vuex actions but not to initialize states in a Vuex store?

后端 未结 0 741
伪装坚强ぢ
伪装坚强ぢ 2020-12-11 08:40

I\'m trying to set the initial month to the current month in state using the nuxtJS dayjs module.

Why can I use this.$dayjs in actions but not in state. And how could

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