[vuex] unknown action type: xxx

[vuex] unknown action type: xxx

注释掉

export default {
  // namespaced: true,
  state,
  getters,
  actions,
  mutations
}

或者

this.$store.dispatch('functionName')
换成
this.$store.dispatch('storeModulesName/functionName')
Logo

前往低代码交流专区

更多推荐