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

View File

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