Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. mutations: {
  2. setName(state, name) {
  3. state.name = name;
  4. },
  5. },
  6. actions: {
  7. setName({ commit }, name) {
  8. commit('setName', name);
  9. },
  10. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement