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