From 31562ac7748add6f38f9f4510fef4c31c3fbe521 Mon Sep 17 00:00:00 2001 From: baiqi Date: Mon, 22 Jan 2024 19:41:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=85=A8=E5=B1=80):=20=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=B0=83=E8=AF=95-=E5=93=8D=E5=BA=94=E5=86=85=E5=AE=B9&?= =?UTF-8?q?=E9=83=A8=E5=88=86=E7=BB=84=E4=BB=B6=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/assets/style/var.less | 1 + .../components/pure/ms-code-editor/index.vue | 114 ++++--- .../components/pure/ms-code-editor/types.ts | 7 + .../components/pure/ms-editable-tab/index.vue | 46 ++- .../components/pure/ms-editable-tab/types.ts | 1 + .../pure/ms-jsonpath-picker/locale/en-US.ts | 3 + .../pure/ms-jsonpath-picker/locale/zh-CN.ts | 3 + .../pure/ms-jsonpath-picker/xpath.vue | 24 +- .../pure/ms-minder-editor/locale/en-US.ts | 8 + .../pure/ms-minder-editor/locale/zh-CN.ts | 8 + .../components/pure/ms-split-box/index.vue | 8 +- frontend/src/config/apiTest.ts | 4 +- frontend/src/config/caseManagement.ts | 9 + frontend/src/enums/apiEnum.ts | 9 + frontend/src/locale/en-US/common.ts | 3 + frontend/src/locale/zh-CN/common.ts | 3 + frontend/src/models/apiTest/debug.ts | 12 + frontend/src/utils/index.ts | 15 +- .../api-test/components/condition/content.vue | 3 + .../components/fastExtraction/index.vue | 2 +- .../views/api-test/components/paramTable.vue | 2 +- .../api-test/components/responseTimeLine.vue | 97 ++++++ .../debug/components/debug/batchAddKeyVal.vue | 2 +- .../api-test/debug/components/debug/body.vue | 2 +- .../api-test/debug/components/debug/index.vue | 307 +++++++++++------- .../debug/components/debug/postcondition.vue | 4 +- .../debug/components/debug/precondition.vue | 2 +- .../api-test/debug/components/debug/query.vue | 2 +- .../debug/components/debug/response.vue | 300 ++++++++++++++++- .../api-test/debug/components/debug/rest.vue | 2 +- .../api-test/debug/components/moduleTree.vue | 31 +- frontend/src/views/api-test/debug/index.vue | 8 +- .../src/views/api-test/debug/locale/zh-CN.ts | 32 +- 33 files changed, 861 insertions(+), 213 deletions(-) create mode 100644 frontend/src/components/pure/ms-jsonpath-picker/locale/en-US.ts create mode 100644 frontend/src/components/pure/ms-jsonpath-picker/locale/zh-CN.ts create mode 100644 frontend/src/views/api-test/components/responseTimeLine.vue diff --git a/frontend/src/assets/style/var.less b/frontend/src/assets/style/var.less index a8609528da..1c207d6ad1 100644 --- a/frontend/src/assets/style/var.less +++ b/frontend/src/assets/style/var.less @@ -1,4 +1,5 @@ /** 主题变量覆盖 **/ +@border-radius-mini: 2px; @border-radius-small: 4px; @border-radius-medium: 6px; @border-radius-large: 12px; diff --git a/frontend/src/components/pure/ms-code-editor/index.vue b/frontend/src/components/pure/ms-code-editor/index.vue index bf7dde0693..a0a72a1288 100644 --- a/frontend/src/components/pure/ms-code-editor/index.vue +++ b/frontend/src/components/pure/ms-code-editor/index.vue @@ -1,15 +1,23 @@