diff --git a/frontend/src/business/components/api/automation/scenario/component/ApiScenarioComponent.vue b/frontend/src/business/components/api/automation/scenario/component/ApiScenarioComponent.vue index 3c088bb9f8..7d7a798d69 100644 --- a/frontend/src/business/components/api/automation/scenario/component/ApiScenarioComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/component/ApiScenarioComponent.vue @@ -133,6 +133,16 @@ export default { } }) } + if(this.scenario.id && this.scenario.referenced === 'Copy' && !this.scenario.loaded){ + this.result = this.$get("/api/automation/getApiScenario/" + this.scenario.id, response => { + if (response.data) { + if(response.data.num){ + this.scenario.num = response.data.num; + this.isShowNum = true; + } + } + }) + } }, components: {ApiBaseComponent, MsSqlBasisParameters, MsTcpBasisParameters, MsDubboBasisParameters, MsApiRequestForm}, data() {