From 6de3b98fce10db1f91a98a477efb107a83dda891 Mon Sep 17 00:00:00 2001 From: baiqi Date: Mon, 15 Apr 2024 21:04:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=83=A8=E5=88=86=E7=BC=BA=E9=99=B7?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/assets/style/arco-reset.less | 7 +- .../business/ms-batch-form/index.vue | 10 +-- .../business/ms-batch-form/types.ts | 19 ----- .../business/ms-case-associate/index.vue | 14 +++- .../ms-personal-drawer/components/setPsw.vue | 12 +++- .../src/components/business/ms-tree/index.vue | 2 +- .../createOrUpdateUserGroup.vue | 11 ++- .../ms-user-group-comp/msUserGroupLeft.vue | 12 +++- .../business/ms-user-group-comp/userTable.vue | 7 +- .../src/components/pure/ms-card/index.vue | 10 ++- .../components/pure/ms-editable-tab/index.vue | 60 ++++++++-------- frontend/src/hooks/useLeaveUnSaveTip.ts | 8 +-- frontend/src/hooks/usePermission.ts | 1 - frontend/src/locale/en-US/common.ts | 1 + frontend/src/locale/zh-CN/common.ts | 1 + frontend/src/models/setting/resourcePool.ts | 1 + .../api-test/components/condition/content.vue | 69 +++++++++++-------- .../api-test/components/condition/index.vue | 46 ++++++------- .../api-test/components/condition/list.vue | 31 ++++----- .../api-test/components/environmentSelect.vue | 57 ++++++++++----- .../views/api-test/components/paramTable.vue | 4 +- .../response/result/assertionTable.vue | 2 +- frontend/src/views/api-test/debug/index.vue | 34 ++++----- .../api-test/management/components/import.vue | 5 +- .../components/management/api/apiBaseForm.vue | 4 +- .../components/management/index.vue | 12 ++-- .../src/views/api-test/management/index.vue | 2 +- .../views/api-test/management/locale/en-US.ts | 1 + .../views/api-test/management/locale/zh-CN.ts | 1 + .../components/common/customApiDrawer.vue | 1 + .../components/common/loopPagination.vue | 2 +- frontend/src/views/base/not-found/index.vue | 5 +- frontend/src/views/bug-management/edit.vue | 12 ++-- .../components/caseDetail.vue | 10 +-- .../tabContent/tabBug/tabDefect.vue | 1 - .../case-management/caseReview/caseDetail.vue | 2 +- .../components/index/reviewTable.vue | 8 ++- .../caseReview/locale/en-US.ts | 1 + .../caseReview/locale/zh-CN.ts | 1 + .../src/views/login/components/login-form.vue | 10 ++- frontend/src/views/login/locale/en-US.ts | 5 +- frontend/src/views/login/locale/zh-CN.ts | 3 +- .../environmental/components/AllParamBox.vue | 9 ++- .../environmental/components/EnvParamBox.vue | 8 +-- .../environmental/index.vue | 6 +- .../fileManagement/components/popConfirm.vue | 2 +- .../menuManagement/menuManagement.vue | 2 - .../template/components/addTemplate.vue | 7 +- .../template/components/editFieldDrawer.vue | 4 +- .../system/config/components/authConfig.vue | 20 +++++- .../system/config/components/pageConfig.vue | 4 +- .../setting/system/config/locale/en-US.ts | 1 + .../setting/system/config/locale/zh-CN.ts | 1 + .../setting/system/resourcePool/detail.vue | 58 +++++++++++----- .../setting/system/resourcePool/index.vue | 6 ++ .../system/resourcePool/locale/en-US.ts | 8 ++- .../system/resourcePool/locale/zh-CN.ts | 8 ++- .../src/views/setting/system/user/index.vue | 9 +-- .../system/usergroup/systemUserGroup.vue | 4 +- 59 files changed, 386 insertions(+), 276 deletions(-) diff --git a/frontend/src/assets/style/arco-reset.less b/frontend/src/assets/style/arco-reset.less index 1fb32086cb..6820d88065 100644 --- a/frontend/src/assets/style/arco-reset.less +++ b/frontend/src/assets/style/arco-reset.less @@ -419,14 +419,9 @@ .arco-checkbox-icon { border: 1px solid var(--color-text-input-border); } - &:hover { - .arco-checkbox-icon-hover::before { - background-color: rgb(var(--primary-9)) !important; - } - } .arco-checkbox-icon-hover { &:hover::before { - background-color: rgb(var(--primary-9)) !important; + @apply hidden; } } } diff --git a/frontend/src/components/business/ms-batch-form/index.vue b/frontend/src/components/business/ms-batch-form/index.vue index ea417f9aba..497d5b3d51 100644 --- a/frontend/src/components/business/ms-batch-form/index.vue +++ b/frontend/src/components/business/ms-batch-form/index.vue @@ -62,7 +62,7 @@ @change="emit('change')" /> -
+
; // 当外层是编辑状态时,可传入已填充的数据 - }, - unknown, - import('vue').ComponentOptionsMixin, - import('vue').ComponentOptionsMixin, - { - formValidate: (cb: (res?: Record) => void, isSubmit = true) => void; - getFormResult: () => T[]; - } ->; - -export declare type MsBatchFormInstance = InstanceType; diff --git a/frontend/src/components/business/ms-case-associate/index.vue b/frontend/src/components/business/ms-case-associate/index.vue index 4c9d29361d..f7d7f90d0d 100644 --- a/frontend/src/components/business/ms-case-associate/index.vue +++ b/frontend/src/components/business/ms-case-associate/index.vue @@ -113,7 +113,7 @@