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'));