From b1ad7f87d8122d7e7fd31af5231cceead4302564 Mon Sep 17 00:00:00 2001 From: baiqi Date: Wed, 26 Jun 2024 14:39:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=85=A8=E5=B1=80):=20bugFix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/assets/style/arco-reset.less | 14 +++++++++++++- .../pure/ms-form-create/formcreate-password.vue | 4 +++- .../pure/ms-form-create/ms-form-create.vue | 4 ++++ .../pure/ms-form-create/searchSelect.vue | 2 ++ .../components/pure/ms-json-schema/locale/en-US.ts | 0 .../components/pure/ms-json-schema/locale/zh-CN.ts | 5 +++++ frontend/src/locale/en-US/common.ts | 4 ++-- .../components/management/api/apiTable.vue | 3 +++ .../views/bug-management/components/basicInfo.vue | 5 +---- frontend/src/views/bug-management/index.vue | 2 +- .../caseManagementFeature/locale/zh-CN.ts | 2 +- 11 files changed, 35 insertions(+), 10 deletions(-) create mode 100644 frontend/src/components/pure/ms-json-schema/locale/en-US.ts create mode 100644 frontend/src/components/pure/ms-json-schema/locale/zh-CN.ts diff --git a/frontend/src/assets/style/arco-reset.less b/frontend/src/assets/style/arco-reset.less index ba1bb28b04..4b012928ae 100644 --- a/frontend/src/assets/style/arco-reset.less +++ b/frontend/src/assets/style/arco-reset.less @@ -281,7 +281,13 @@ width: 100%; border: 1px solid var(--color-text-n8); background-color: var(--color-text-fff); - &:not(:disabled, .arco-input-tag-disabled, .arco-input-disabled, .arco-select-view-disabled):hover { + &:not( + :disabled, + .arco-input-tag-disabled, + .arco-input-disabled, + .arco-textarea-disabled, + .arco-select-view-disabled + ):hover { border-color: rgb(var(--primary-5)) !important; background-color: white; } @@ -291,10 +297,16 @@ } .arco-input-tag-disabled, .arco-select-view-disabled, +.arco-textarea-disabled, .arco-input-disabled { border-color: var(--color-text-n8) !important; background-color: var(--color-text-n8) !important; } +.arco-textarea-disabled { + .arco-textarea { + @apply cursor-not-allowed; + } +} .arco-select, .arco-input-tag { .arco-icon { diff --git a/frontend/src/components/pure/ms-form-create/formcreate-password.vue b/frontend/src/components/pure/ms-form-create/formcreate-password.vue index cc67533e9a..6d7998dadb 100644 --- a/frontend/src/components/pure/ms-form-create/formcreate-password.vue +++ b/frontend/src/components/pure/ms-form-create/formcreate-password.vue @@ -3,6 +3,7 @@ v-model="inputValue" :placeholder="placeholder" :default-visibility="true" + :disabled="props.disabled" allow-clear @clear="clearHandler" @input="inputHandler" @@ -12,9 +13,10 @@