breaking change: disable allow-html by default

This commit is contained in:
chenjiahan
2020-09-14 15:42:04 +08:00
parent c68e77abca
commit 02c7a75ee3
8 changed files with 11 additions and 15 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ export default {
| toolbar-position | 顶部栏位置,可选值为`bottom` | _string_ | `top` |
| loading | 是否显示加载状态 | _boolean_ | `false` |
| show-toolbar | 是否显示顶部栏 | _boolean_ | `true` |
| allow-html | 是否允许选项内容中渲染 HTML | _boolean_ | `true` |
| allow-html | 是否允许选项内容中渲染 HTML | _boolean_ | `false` |
| default-index | 单列选择时,默认选中项的索引 | _number \| string_ | `0` |
| item-height `v2.8.6` | 选项高度,支持 `px` `vw` `rem` 单位,默认 `px` | _number \| string_ | `44` |
| visible-item-count | 可见的选项个数 | _number \| string_ | `6` |