[Vuejs]-Array changed by Vue(x) after mutating state

0👍

Because stations data was using in somewhere. I think you are using something like v-for"item in stations" :key="item.id". When you commit('SET_STATIONS', res.data), it changed stations. And it have duplicate id.

Leave a comment