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 @@