feat(Picker): add readonly prop (#7105)

This commit is contained in:
neverland
2020-09-05 06:50:59 +08:00
committed by GitHub
parent f6e3aaebec
commit 3cd200f7c2
6 changed files with 33 additions and 1 deletions
+1
View File
@@ -272,6 +272,7 @@ export default {
| value-key | 选项对象中,选项文字对应的键名 | _string_ | `text` |
| toolbar-position | 顶部栏位置,可选值为`bottom` | _string_ | `top` |
| loading | 是否显示加载状态 | _boolean_ | `false` |
| readonly `v2.10.5` | 是否为只读状态,只读状态下无法切换选项 | _boolean_ | `false` |
| show-toolbar | 是否显示顶部栏 | _boolean_ | `false` |
| allow-html `v2.1.8` | 是否允许选项内容中渲染 HTML | _boolean_ | `true` |
| default-index | 单列选择时,默认选中项的索引 | _number \| string_ | `0` |