From 4c080b7b191972d5fee75c5d6989f0f1d6d00596 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 16 Feb 2023 17:30:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8C=85=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/oms/apps/develop/AppDeployCustom/list.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/project/oms/apps/develop/AppDeployCustom/list.vue b/project/oms/apps/develop/AppDeployCustom/list.vue index 188a17b5..821c8ba9 100644 --- a/project/oms/apps/develop/AppDeployCustom/list.vue +++ b/project/oms/apps/develop/AppDeployCustom/list.vue @@ -149,9 +149,9 @@ export default { this.ws = new WebSocket(`ws://192.168.1.87:12525/ws`) this.ws.onopen = () => resolve() this.ws.onmessage = res => { - if (this.$checkJson(res?.data)) { - const data = JSON.parse(res.data), - row = this.tableData.find(e => e.id == data?.row.id) + if (this.$checkJson(res)) { + const data = JSON.parse(res), + row = this.tableData.find(e => e.id == data?.row?.id) if (data.code == '0') { row.count = data.progress if (row.count == 100) {