mutations SET_NAME state payload state name payload

1
2
3
4
5
mutations: {
SET_NAME: (state, payload) => {
state.name = payload;
},
}