diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index 23f99d87fa..195b97e6c2 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -198,7 +198,7 @@ @@ -445,6 +445,9 @@ openScenario(data) { this.$emit('openScenario', data); }, + setCookieShare(cookie) { + this.enableCookieShare = cookie; + }, showAllBtn() { this.$refs.maximizeScenario.showAll(); }, @@ -560,7 +563,6 @@ this.operatingElements = ELEMENTS.get("ALL"); this.selectedTreeNode = undefined; } - //this.reload(); }, apiListImport() { this.$refs.scenarioApiRelevance.open(); diff --git a/frontend/src/business/components/api/automation/scenario/maximize/ScenarioHeader.vue b/frontend/src/business/components/api/automation/scenario/maximize/ScenarioHeader.vue index 5fbad83245..fb9e29c045 100644 --- a/frontend/src/business/components/api/automation/scenario/maximize/ScenarioHeader.vue +++ b/frontend/src/business/components/api/automation/scenario/maximize/ScenarioHeader.vue @@ -16,7 +16,7 @@
- 共享cookie + 共享cookie {{$t('api_test.request.debug')}} @@ -70,6 +70,9 @@ runDebug() { this.$emit('runDebug'); }, + setCookieShare(){ + this.$emit('setCookieShare',this.cookieShare); + }, showScenarioParameters() { this.$emit('showScenarioParameters'); }, @@ -91,7 +94,7 @@ }) }, setProjectEnvMap(projectEnvMap) { - this.$emit('setProjectEnvMap',projectEnvMap); + this.$emit('setProjectEnvMap', projectEnvMap); this.envMap = projectEnvMap; } },