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) {