3👍
formData should be the second parameter in the action.
actions: {
login ({ commit }, formData) {
console.log(formData);
}
}
👤Rich
Source:stackexchange.com
3👍
formData should be the second parameter in the action.
actions: {
login ({ commit }, formData) {
console.log(formData);
}
}