vuex中使用action操作mutation 报错 Do not mutate vuex store state outside mutation handlers.
组件代码:selectItem(item,index){this.selectPlay({list:this.songs,index})},...mapActions(['selectPlay'])mutation代码:[types.SET_PLAYLIST](state,list){//1、state.playlist=JSON.parse(JSON.stringify(list))//2、st