From f9327486095f55d9055ec569b52635e3cdae5dcd Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 24 Mar 2023 11:17:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8Djsonpath=E6=96=AD=E8=A8=80=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=E4=B8=8D=E5=87=86=E7=A1=AE=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1024854 --user=王孝刚 [接口测试] github#23072断言,Not Contains类型的,在报告里体现的描述不准确。 https://www.tapd.cn/55049933/s/1355501 --- .../assertion/ApiAssertionJsonPath.vue | 33 ++++++++++--------- .../assertion/ApiAssertionJsonPath.vue | 5 +-- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/api-test/frontend/src/business/definition/components/assertion/ApiAssertionJsonPath.vue b/api-test/frontend/src/business/definition/components/assertion/ApiAssertionJsonPath.vue index 4fd194c713..7d463bc52a 100644 --- a/api-test/frontend/src/business/definition/components/assertion/ApiAssertionJsonPath.vue +++ b/api-test/frontend/src/business/definition/components/assertion/ApiAssertionJsonPath.vue @@ -9,7 +9,7 @@ maxlength="500" size="small" show-word-limit - :placeholder="$t('api_test.request.extract.json_path_expression')" /> + :placeholder="$t('api_test.request.extract.json_path_expression')"/> @@ -19,14 +19,14 @@ class="ms-col-type" size="small" style="width: 40%; margin-right: 10px" - @change="reload"> - - - - - - - + @change="setJSONPathDescription"> + + + + + + + + style="width: 50%"/>
{{ $t('api_test.request.assertions.regex_info') }}
- +
@@ -49,7 +49,7 @@ class="enable-switch" size="mini" :disabled="isReadOnly" - style="width: 30px; margin-right: 10px" /> + style="width: 30px; margin-right: 10px"/> + v-if="edit"/> + v-if="edit"/> {{ $t('api_test.request.assertions.add') }} @@ -75,7 +75,7 @@