From 1136d6215355686a8123bcf45921aaa4f6dc14a0 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 8 Nov 2023 11:35:27 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E9=9A=90=E8=97=8F=E9=99=A4=E6=AD=A3=E5=88=99=E6=8F=90?= =?UTF-8?q?=E5=8F=96=E5=A4=96=E7=9A=84=E8=87=AA=E5=AE=9A=E4=B9=89=E6=A8=A1?= =?UTF-8?q?=E7=89=88=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1032642 --user=赵勇 【接口测试】后置操作的JSONPath提取中的默认值$1$和正则提取中的默认选项“$1$” 混淆了,建议隐藏 https://www.tapd.cn/55049933/s/1434208 Signed-off-by: fit2-zhao --- .../definition/components/extract/ApiExtractCommon.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api-test/frontend/src/business/definition/components/extract/ApiExtractCommon.vue b/api-test/frontend/src/business/definition/components/extract/ApiExtractCommon.vue index a18482fd3a..1ed65a5189 100644 --- a/api-test/frontend/src/business/definition/components/extract/ApiExtractCommon.vue +++ b/api-test/frontend/src/business/definition/components/extract/ApiExtractCommon.vue @@ -32,14 +32,15 @@ show-word-limit :placeholder="expression" @click.native="savePreParams(common.variable)" - style="width: 70%" /> + :style="extractType === 'Regex' ? 'width: 70%' : 'width: 100%'" /> + :fetch-suggestions="querySearch" + v-if="extractType === 'Regex'" />