From 271668a40e5ed88f42a9e7a8746a3bc5f217d1d6 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Tue, 16 Mar 2021 18:19:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E6=9C=80=E5=A4=A7=E5=8C=96cookie=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/automation/scenario/EditApiScenario.vue | 6 ++++-- .../api/automation/scenario/maximize/ScenarioHeader.vue | 7 +++++-- 2 files changed, 9 insertions(+), 4 deletions(-) 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; } },