Most efficient way to mutate an item in array of objects? [VUEX]

后端 未结 0 427
孤街浪徒
孤街浪徒 2021-01-24 04:44

I read the official Vuex example of how to mutate the state of element in array of objects data.

editTodo (state, { todo, text = todo.text, done = todo.done }) {
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题