feat(components): [input] show pwd visible icon when the input is readonly (#18458)

feat(components): [input] show pwd visible icon when input is readonly
This commit is contained in:
Lo 2024-10-15 13:35:34 +08:00 committed by GitHub
parent da3e68791b
commit 5917190205
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -305,7 +305,6 @@ const showPwdVisible = computed(
() =>
props.showPassword &&
!inputDisabled.value &&
!props.readonly &&
!!nativeInputValue.value &&
(!!nativeInputValue.value || isFocused.value)
)