fix(场景自动化): 删除单个场景问题修复
This commit is contained in:
parent
63d1e2e640
commit
233cceec73
|
@ -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'));
|
||||
|
|
Loading…
Reference in New Issue