zxl
6 天以前 dee9014b7fe406a241d396737649f3c3f9a0df05
1
2
3
4
5
6
7
8
9
// 根级别的 mutation
const mutations = {
  // 更新socket 连接状态
  UPDATE_SOCKET_STATUS(state, status) {
    state.socketStatus = status
  },
}
 
export default mutations