You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Mutationincrement(){this.count++}
@Actionact(){this.increment()// instead of this.context.commit('increment')}
I've seen this usage in "vue typescript admin template" and many other examples.
Is that legal? But why it is not mentioned in the doc. I think it'is more convinient than commitment.
The text was updated successfully, but these errors were encountered:
From what I have seen it does not work, this was very confusing to me. We should at least update the docs to show how this needs to be done as not everyone wants to use @MutationAction
Code assumed:
I've seen this usage in "vue typescript admin template" and many other examples.
Is that legal? But why it is not mentioned in the doc. I think it'is more convinient than commitment.
The text was updated successfully, but these errors were encountered: