fix(场景自动化): 删除单个场景问题修复

This commit is contained in:
fit2-zhao 2021-03-30 17:27:43 +08:00
parent 63d1e2e640
commit 233cceec73
1 changed files with 3 additions and 0 deletions

View File

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