diff --git a/frontend/src/business/components/api/automation/ApiAutomation.vue b/frontend/src/business/components/api/automation/ApiAutomation.vue index 7b201540c6..124e25dfd5 100644 --- a/frontend/src/business/components/api/automation/ApiAutomation.vue +++ b/frontend/src/business/components/api/automation/ApiAutomation.vue @@ -469,6 +469,10 @@ export default { } else { this.activeName = "default"; } + let index = this.tabs.findIndex(item => item.name === targetName); + if (index !== -1) { + this.tabs.splice(index, 1); + } }, setTabLabel(data) { for (const tab of this.tabs) {