import * as Type from './mutationTypes.js'
export const selectPlay = function({commit},{list,index}){
commit(Type.SET_SEQUEENLIST,list)
commit(Type.SET_PLAYLIST,list)
commit(Type.SET_CURRENTINDEX,index)
commit(Type.SET_FULLSCREEN,true)
commit(Type.SET_PLAYING,true)
}
vuex拆分actions
最新推荐文章于 2022-07-23 12:06:56 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)