From 69f916ef3c45672b57e7e859976386d8a6684a31 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Wed, 1 Jun 2022 09:28:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B7=B2=E7=9F=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/utils/socketVuex.js | 4 ---- 1 file changed, 4 deletions(-) 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') }