I have a question regarding Vue X and actions (with commit).
Can an object be passed as input in Commit?
Similar to:
...
action{
ResetLoginStats({commit}){
commit({
'SetMutation1':false,
'SetMutation2':true,
'SetMutation3':''
...
});
}
...
}
The entire Action section :
ResetSignInStats({ commit }) {
document.getElementById('Semail').value = '';
document.getElementById('Spwd').value = '';
document.getElementById('SpwdC').value = '';
document.getElementById('Sname').value = '';
document.getElementById('SBio').value = '';
commit('setsubFailure', false);
commit('setMSGfaillure','');
commit('setsubOkay', false);
commit('setsubCompleted', false);
commit('setCHKeMail', false);
commit('setCHKpassword', false);
commit('setCHKuserName', false);
commit('setLoading', false);
},
Thank you for your assistance and response. Best regards!