fix(接口自动化): 修复部分缺陷
This commit is contained in:
parent
5ae9f4dcfe
commit
96ae6250be
|
@ -128,13 +128,13 @@
|
|||
},
|
||||
close() {
|
||||
this.visible = false;
|
||||
let saveVariables = [];
|
||||
this.variables.forEach(item => {
|
||||
if (item.name === undefined || item.name === "") {
|
||||
const index = this.variables.findIndex(d => d.id === item.id);
|
||||
this.variables.splice(index, 1);
|
||||
if (item.name && item.name != "") {
|
||||
saveVariables.push(item);
|
||||
}
|
||||
})
|
||||
this.$emit('setVariables', this.variables);
|
||||
this.$emit('setVariables', saveVariables);
|
||||
},
|
||||
deleteVariable() {
|
||||
let ids = Array.from(this.selection);
|
||||
|
|
|
@ -184,7 +184,7 @@
|
|||
this.$set(item, 'selected', false);
|
||||
})
|
||||
}
|
||||
this.$success(this.$t('schedule.event_success'));
|
||||
this.$success(this.$t('organization.integration.successful_operation'));
|
||||
this.refresh();
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue