[Improvement] Picker: support html option (#1213)

This commit is contained in:
neverland 2018-05-31 18:06:50 +08:00 committed by GitHub
parent 9b01710556
commit 1fed9bdbcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@
<ul :style="wrapperStyle">
<li
v-for="(option, index) in options"
v-text="getOptionText(option)"
v-html="getOptionText(option)"
class="van-ellipsis"
:class="b('item', {
disabled: isDisabled(option),