From e41ca820df23e04c93f6f780a0ee48248334c44e Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Mon, 3 Aug 2020 17:11:13 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=9C=BA=E6=99=AF=E4=B8=AD?= =?UTF-8?q?=E6=9C=89=E9=85=8D=E7=BD=AE=E7=8E=AF=E5=A2=83=EF=BC=8C=E5=88=9B?= =?UTF-8?q?=E5=BB=BA=E8=AF=B7=E6=B1=82=E9=BB=98=E8=AE=A4=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/test/components/request/ApiRequestConfig.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/business/components/api/test/components/request/ApiRequestConfig.vue b/frontend/src/business/components/api/test/components/request/ApiRequestConfig.vue index d154807716..b4ce66d356 100644 --- a/frontend/src/business/components/api/test/components/request/ApiRequestConfig.vue +++ b/frontend/src/business/components/api/test/components/request/ApiRequestConfig.vue @@ -78,6 +78,9 @@ methods: { createRequest: function (type) { let request = new RequestFactory({type: type}); + if (this.scenario.environmentId) { + request.useEnvironment = true; + } this.scenario.requests.push(request); this.type = ""; this.visible = false;