[Vuejs]-Vuex mutate state in module with function in other module

0👍

If you are not using namespaces try with this:

commit('SET_AUTH', data.data.user, { root: true })

if your are using namespaces

commit('namespace/SET_AUTH', data.data.user, { root: true })

Leave a comment