mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-23 18:00:27 +08:00
[Improvement] Picker: support html option (#1213)
This commit is contained in:
parent
9b01710556
commit
1fed9bdbcd
@ -11,7 +11,7 @@
|
|||||||
<ul :style="wrapperStyle">
|
<ul :style="wrapperStyle">
|
||||||
<li
|
<li
|
||||||
v-for="(option, index) in options"
|
v-for="(option, index) in options"
|
||||||
v-text="getOptionText(option)"
|
v-html="getOptionText(option)"
|
||||||
class="van-ellipsis"
|
class="van-ellipsis"
|
||||||
:class="b('item', {
|
:class="b('item', {
|
||||||
disabled: isDisabled(option),
|
disabled: isDisabled(option),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user