diff --git a/jero-web/src/utils/socketVuex.js b/jero-web/src/utils/socketVuex.js index 41d0fae3b..733cb2dce 100644 --- a/jero-web/src/utils/socketVuex.js +++ b/jero-web/src/utils/socketVuex.js @@ -37,22 +37,18 @@ export default new Vuex.Store({ that.commit('start') } state.ws.onmessage = function(res) { - console.log(res) if (res.data === 'heartCheck') { // 收到服务器信息,心跳重置 that.commit('reset') - console.log('socket-heartCheck') } else { state.msg = res } } state.ws.onclose = function(res) { - console.log('Connection closed...') //重连 that.commit('reconnect') } state.ws.onerror = function(res) { - console.log('Connection error...') //重连 that.commit('reconnect') }