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