From 233cceec73fae76fa02040d035e88937ee0dc90a Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Tue, 30 Mar 2021 17:27:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9C=BA=E6=99=AF=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E5=88=A0=E9=99=A4=E5=8D=95=E4=B8=AA=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/automation/scenario/ApiScenarioList.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue index a3b7e1afe8..5fc080fa6e 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue @@ -732,6 +732,9 @@ export default { // let ids = [row.id]; let param = {}; this.buildBatchParam(param); + if(param.ids && param.ids.length <=0){ + param.ids =[row.id]; + } this.$post('/api/automation/removeToGcByBatch/', param, () => { // this.$post('/api/automation/removeToGc/', ids, () => { this.$success(this.$t('commons.delete_success'));