Vue makes a component and wants to use vuex to manage it. But I encountered a problem. One method in mutations wants to use another method in mutations. How to achieve this?
There is also a method in mutations that wants to call itself to implement recursive calls. How to achieve this? ? ?
Official instructions indicate that it is more consistent to use actions~
If you want to execute another mutation in one mutation, you can also store.commit('the name of another mutation').