From 739fe5f18c56822c783b266ec0c9f062ffd750af Mon Sep 17 00:00:00 2001 From: RubyLiu Date: Mon, 26 Feb 2024 18:22:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=8E=AF=E5=A2=83=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E6=96=AD=E8=A8=80=E6=96=87=E6=A1=A3=E6=B7=BB=E5=8A=A0=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ms-assertion/comp/ResponseBodyTab.vue | 215 ++++++++++++------ .../business/ms-assertion/locale/zh-CN.ts | 3 +- .../modules/setting/useProjectEnvStore.ts | 2 +- frontend/src/utils/tree.ts | 199 +++++++++++----- .../views/api-test/components/paramTable.vue | 70 ++++-- 5 files changed, 340 insertions(+), 149 deletions(-) diff --git a/frontend/src/components/business/ms-assertion/comp/ResponseBodyTab.vue b/frontend/src/components/business/ms-assertion/comp/ResponseBodyTab.vue index be2df87a99..b0935fb457 100644 --- a/frontend/src/components/business/ms-assertion/comp/ResponseBodyTab.vue +++ b/frontend/src/components/business/ms-assertion/comp/ResponseBodyTab.vue @@ -14,7 +14,7 @@ :columns="jsonPathColumns" :scroll="{ minWidth: '700px' }" :default-param-item="jsonPathDefaultParamItem" - @change="handleChange" + @change="(data, isInit) => handleChange(data, !!isInit, 'jsonPath')" @more-action-select="(e,r)=> handleExtractParamMoreActionSelect(e,r as ExpressionConfig)" > @@ -300,22 +305,25 @@