From 488a93ea2c7d49612153ea3a27e576db1adcab8b Mon Sep 17 00:00:00 2001 From: baiqi Date: Mon, 18 Mar 2024 21:07:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8E=A5=E5=8F=A3=E5=9C=BA=E6=99=AF):=20?= =?UTF-8?q?=E5=9C=BA=E6=99=AF=E6=AD=A5=E9=AA=A4=2015%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/ms-params-input/index.vue | 15 +- .../src/components/business/ms-tree/index.vue | 12 +- .../src/components/pure/ms-tag/ms-tag.vue | 2 +- frontend/src/utils/index.ts | 62 ++++ .../components/requestComposition/index.vue | 3 + .../api-test/debug/components/moduleTree.vue | 2 +- .../components/step/actionDropdown.vue | 19 +- .../scenario/components/step/index.vue | 20 +- .../step/stepNodeComposition/quoteContent.vue | 85 ++++- .../scenario/components/step/stepTree.vue | 344 ++++++++++++++---- .../views/api-test/scenario/create/index.vue | 8 + .../views/api-test/scenario/locale/zh-CN.ts | 7 + 12 files changed, 493 insertions(+), 86 deletions(-) diff --git a/frontend/src/components/business/ms-params-input/index.vue b/frontend/src/components/business/ms-params-input/index.vue index 452d74a897..5d04dfe1e6 100644 --- a/frontend/src/components/business/ms-params-input/index.vue +++ b/frontend/src/components/business/ms-params-input/index.vue @@ -167,11 +167,11 @@
-
{{ t('ms.paramsInput.preview') }}
- -
{{ paramPreview }}
+
{{ t('ms.paramsInput.preview') }}
+ +
{{ paramPreview }}
{{ t('ms.paramsInput.previewClick') }}
@@ -625,6 +625,13 @@ overflow-y: auto; margin-right: -6px; max-height: 400px; + .ms-params-input-setting-trigger-content-scroll-preview { + @apply w-full overflow-y-auto overflow-x-hidden break-all; + .ms-scroll-bar(); + + max-height: 100px; + color: var(--color-text-1); + } } } } diff --git a/frontend/src/components/business/ms-tree/index.vue b/frontend/src/components/business/ms-tree/index.vue index f21ca08ef7..944c7983a2 100644 --- a/frontend/src/components/business/ms-tree/index.vue +++ b/frontend/src/components/business/ms-tree/index.vue @@ -24,13 +24,15 @@ :position="props.titleTooltipPosition" :disabled="props.disabledTitleTooltip" > - + + + -