From e2bef32de27cdc6a462399a5ce3990da55dc41c2 Mon Sep 17 00:00:00 2001 From: baiqi Date: Thu, 21 Mar 2024 20:26:58 +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=2080%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package.json | 2 +- frontend/src/assets/style/arco-reset.less | 18 +- .../business/ms-add-attachment/index.vue | 30 ++- .../src/components/pure/ms-drawer/index.vue | 2 +- frontend/src/hooks/useOpenNewPage.ts | 3 +- frontend/src/models/apiTest/scenario.ts | 4 +- frontend/src/utils/index.ts | 72 ++++--- .../components/requestComposition/body.vue | 16 +- .../requestComposition/response/result.vue | 2 +- .../common/importApiDrawer/index.vue | 92 +++++---- .../common/importApiDrawer/moduleTree.vue | 1 + .../common/importApiDrawer/table.vue | 93 +++++++-- .../step/createAction/createStepActions.vue | 12 +- .../createAction/stepInsertStepTrigger.vue | 18 +- .../step/createAction/useCreateActions.ts | 189 ++++++++++++------ .../scenario/components/step/index.vue | 2 +- .../scenario/components/step/stepTree.vue | 133 ++++++++++-- .../views/api-test/scenario/create/index.vue | 14 ++ .../src/views/api-test/scenario/index.vue | 7 +- .../views/api-test/scenario/locale/zh-CN.ts | 7 +- 20 files changed, 498 insertions(+), 219 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 5a5c1a943a..b118bedf63 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -38,7 +38,7 @@ "dependencies": { "@7polo/kity": "2.0.8", "@7polo/kityminder-core": "1.4.53", - "@arco-design/web-vue": "^2.54.4", + "@arco-design/web-vue": "^2.55.0", "@arco-themes/vue-ms-theme-default": "^0.0.30", "@form-create/arco-design": "^3.1.23", "@halo-dev/richtext-editor": "0.0.0-alpha.33", diff --git a/frontend/src/assets/style/arco-reset.less b/frontend/src/assets/style/arco-reset.less index 1bbfda6f1a..53e4a48c9d 100644 --- a/frontend/src/assets/style/arco-reset.less +++ b/frontend/src/assets/style/arco-reset.less @@ -137,23 +137,18 @@ width: 960px; } } - .ms-modal-response { .arco-modal { width: 800px; - height: 523px + height: 523px; } } - -.ms-modal-response-body{ - .arco-modal-body{ - padding: 0; +.ms-modal-response-body { + .arco-modal-body { overflow: inherit; + padding: 0; } } - - - .ms-modal-small { .arco-modal { width: 480px; @@ -394,9 +389,8 @@ } .arco-checkbox-icon-check { @apply text-white; - .arco-checkbox-icon { - background-color: rgb(var(--primary-5)); - } + + background-color: rgb(var(--primary-5)); } } .arco-checkbox { diff --git a/frontend/src/components/business/ms-add-attachment/index.vue b/frontend/src/components/business/ms-add-attachment/index.vue index 24fe0dc217..cbf3dadd29 100644 --- a/frontend/src/components/business/ms-add-attachment/index.vue +++ b/frontend/src/components/business/ms-add-attachment/index.vue @@ -10,7 +10,7 @@ @@ -78,9 +85,11 @@