From 56d25dfcd808f1a95491801646bc41a9789b4ee1 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Mon, 29 Jun 2020 21:11:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E4=BB=8E=E5=93=8D=E5=BA=94?= =?UTF-8?q?=E5=A4=B4=E7=AD=89=E5=AF=B9=E8=B1=A1=E4=B8=AD=E6=8F=90=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dto/scenario/extract/ExtractRegex.java | 1 + .../test/components/extract/ApiExtract.vue | 4 ++-- .../components/extract/ApiExtractCommon.vue | 19 +++++++++++++++++-- .../api/test/model/ScenarioModel.js | 3 ++- 4 files changed, 22 insertions(+), 5 deletions(-) diff --git a/backend/src/main/java/io/metersphere/api/dto/scenario/extract/ExtractRegex.java b/backend/src/main/java/io/metersphere/api/dto/scenario/extract/ExtractRegex.java index 3a2216fa27..d5d6160bf5 100644 --- a/backend/src/main/java/io/metersphere/api/dto/scenario/extract/ExtractRegex.java +++ b/backend/src/main/java/io/metersphere/api/dto/scenario/extract/ExtractRegex.java @@ -6,6 +6,7 @@ import lombok.EqualsAndHashCode; @EqualsAndHashCode(callSuper = true) @Data public class ExtractRegex extends ExtractCommon { + private String useHeaders; public ExtractRegex() { setType(ExtractType.REGEX); } diff --git a/frontend/src/business/components/api/test/components/extract/ApiExtract.vue b/frontend/src/business/components/api/test/components/extract/ApiExtract.vue index ab006a56c2..d8f57981cd 100644 --- a/frontend/src/business/components/api/test/components/extract/ApiExtract.vue +++ b/frontend/src/business/components/api/test/components/extract/ApiExtract.vue @@ -4,7 +4,7 @@ {{$t('api_test.request.extract.description')}} - + @@ -12,7 +12,7 @@ - + diff --git a/frontend/src/business/components/api/test/components/extract/ApiExtractCommon.vue b/frontend/src/business/components/api/test/components/extract/ApiExtractCommon.vue index f2607bb9af..178f37e362 100644 --- a/frontend/src/business/components/api/test/components/extract/ApiExtractCommon.vue +++ b/frontend/src/business/components/api/test/components/extract/ApiExtractCommon.vue @@ -1,7 +1,12 @@