[Vuejs]-Using Vuex state in computed property to open modal, changes are ignored, modal stays closed

1👍

It might be a reactivity problem. Can you try the following code?

TOGGLE_STATUS (state, name) {
  state.status = {
    ...state.status,
    [name]: !state.status[name]
  }
}
👤ittus

Leave a comment