Vue.js[vuex] how to dispatch from a mutation?

前端 未结 0 823
青春惊慌失措
青春惊慌失措 2021-02-11 20:35

I have a list of filters I want to apply to a json object.

My mutations look like this:

const mutations = {
    setStars(state, payload) {
        state.         


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