From b1a75606439a799920cffd7aaae82358adc80aa7 Mon Sep 17 00:00:00 2001 From: Zheng Jie <201507802@qq.com> Date: Tue, 24 May 2022 18:23:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mnt/deploy/deploy.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/mnt/deploy/deploy.vue b/src/views/mnt/deploy/deploy.vue index cc49ccd..d84a269 100644 --- a/src/views/mnt/deploy/deploy.vue +++ b/src/views/mnt/deploy/deploy.vue @@ -147,7 +147,7 @@ export default { }) }, initWebSocket() { - const wsUri = (process.env.VUE_APP_WS_API === '/' ? '' : process.env.VUE_APP_WS_API) + 'webSocket/deploy' + const wsUri = (process.env.VUE_APP_WS_API === '/' ? '/' : (process.env.VUE_APP_WS_API + '/')) + 'webSocket/deploy' this.websock = new WebSocket(wsUri) this.websock.onerror = this.webSocketOnError this.websock.onmessage = this.webSocketOnMessage