fix(components): [select-v2] fix placeholder style (#9707)

This commit is contained in:
zz 2022-09-08 15:14:28 +08:00 committed by GitHub
parent 99bb2b076c
commit 206ffbefd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -255,9 +255,7 @@
nsSelectV2.is(
'transparent',
states.isComposing ||
(placeholder && multiple
? modelValue.length === 0
: !hasModelValue)
(multiple ? modelValue.length === 0 : !hasModelValue)
),
]"
>