mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Picker): option.className not work
This commit is contained in:
parent
f436b5ae09
commit
d16075f39e
@ -213,10 +213,13 @@ export default defineComponent({
|
||||
role: 'button',
|
||||
style: optionStyle,
|
||||
tabindex: disabled ? -1 : 0,
|
||||
class: bem('item', {
|
||||
disabled,
|
||||
selected: value === props.value,
|
||||
}),
|
||||
class: [
|
||||
bem('item', {
|
||||
disabled,
|
||||
selected: value === props.value,
|
||||
}),
|
||||
option.className,
|
||||
],
|
||||
onClick: () => onClickItem(index),
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user