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