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