diff --git a/frontend/src/business/components/api/automation/ApiAutomation.vue b/frontend/src/business/components/api/automation/ApiAutomation.vue index 4f949f2248..7017e65001 100644 --- a/frontend/src/business/components/api/automation/ApiAutomation.vue +++ b/frontend/src/business/components/api/automation/ApiAutomation.vue @@ -97,6 +97,7 @@ renderComponent: true, isHide: true, activeName: 'default', + redirectFlag: 'none', currentModule: null, moduleOptions: [], tabs: [], @@ -150,6 +151,15 @@ }, changeRedirectParam(redirectIDParam) { this.redirectID = redirectIDParam; + if(redirectIDParam!=null){ + if(this.redirectFlag == "none"){ + this.activeName = "default"; + this.addListener(); + this.redirectFlag = "redirected"; + } + }else{ + this.redirectFlag = "none"; + } }, addTab(tab) { if (!getCurrentProjectID()) {