mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-17 13:01:46 +08:00
refactor: delete useless code (#20759)
* refactor: delete useless code A && B && C && ( C || D ) === A && B && C 所以第四个判断完全没意义 * chore: format code --------- Co-authored-by: warmthsea <2586244885@qq.com>
This commit is contained in:
@ -293,11 +293,7 @@ const showClear = computed(
|
||||
(isFocused.value || hovering.value)
|
||||
)
|
||||
const showPwdVisible = computed(
|
||||
() =>
|
||||
props.showPassword &&
|
||||
!inputDisabled.value &&
|
||||
!!nativeInputValue.value &&
|
||||
(!!nativeInputValue.value || isFocused.value)
|
||||
() => props.showPassword && !inputDisabled.value && !!nativeInputValue.value
|
||||
)
|
||||
const isWordLimitVisible = computed(
|
||||
() =>
|
||||
|
Reference in New Issue
Block a user