Merge remote-tracking branch 'origin/v1.8' into v1.8

This commit is contained in:
song.tianyang 2021-03-30 17:29:27 +08:00
commit 812735696a
1 changed files with 3 additions and 0 deletions

View File

@ -732,6 +732,9 @@ export default {
// let ids = [row.id]; // let ids = [row.id];
let param = {}; let param = {};
this.buildBatchParam(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/removeToGcByBatch/', param, () => {
// this.$post('/api/automation/removeToGc/', ids, () => { // this.$post('/api/automation/removeToGc/', ids, () => {
this.$success(this.$t('commons.delete_success')); this.$success(this.$t('commons.delete_success'));