vuex
const list = {
state: {
list: []
},
mutations: {
update: (state, e) => {
for (let i = 0; i < state.list.length; iPP) {
//
// state.list[i] = { ...e, ...state.list[i] }
for (const ii in e) {
state.list[i][ii] = e[ii]
}
}
}
}
}
export default list