From 8e293e0d9bdeea9d69a06e336903045fc970f05d Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 17 Feb 2023 11:48:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=93=E5=8C=85=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E8=BF=9B=E5=BA=A6=E7=9A=84=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 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/project/oms/apps/develop/AppDeployCustom/list.vue b/project/oms/apps/develop/AppDeployCustom/list.vue index 52b58f48..bb240601 100644 --- a/project/oms/apps/develop/AppDeployCustom/list.vue +++ b/project/oms/apps/develop/AppDeployCustom/list.vue @@ -127,13 +127,6 @@ export default { let {id} = row this.initWs().then(() => this.ws.send(JSON.stringify({action: "/custom/getZip", cid: id}))) }, - getRowById(id) { - return this.instance.post("/node/custom/detail", null, { - params: {id} - }).then(res => { - if (res?.data) return res.data - }) - }, handleNotice(id) { this.instance.post("/node/custom/webhook", null, { params: {id} @@ -150,7 +143,7 @@ export default { 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) + row = this.tableData.find(e => e.id == data?.id) if (data.code == '0') { row.count = data.progress if (row.count == 100) {