1👍
✅
You should pass context and payload to Vuex action. So I’m guessing you do not have access to form data inside your action, right?
Try this: async updateUserInfo(ctx, { id, data })
And then in the vue component: this.updateUserInfo({ id, data: this.formData });
Source:stackexchange.com