Merge remote-tracking branch 'origin/v1.8' into v1.8
This commit is contained in:
commit
812735696a
|
@ -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'));
|
||||||
|
|
Loading…
Reference in New Issue