feat(TreeSelect): add max prop (#4323)

This commit is contained in:
neverland
2019-09-02 16:54:48 +08:00
committed by GitHub
parent 9adf00b8a1
commit 8eab7b41b5
4 changed files with 40 additions and 3 deletions
+3 -2
View File
@@ -101,8 +101,9 @@ export default {
|------|------|------|------|------|
| items | 分类显示所需的数据 | *Item[]* | `[]` | - |
| height | 高度,默认单位为 px | *string \| number* | `300` | - |
| main-active-index | 左侧高亮选项的索引 | *number* | `0` | - |
| active-id | 右侧高亮选项的 id,支持传入数组 | *string \| number \| (string \| number)[]* | `0` | - |
| main-active-index | 左侧选项的索引 | *number* | `0` | - |
| active-id | 右侧选项的 id,支持传入数组 | *string \| number \| (string \| number)[]* | `0` | - |
| max | 右侧项最大选中个数 | *number* | *Infinity* | 2.1.9 |
### Events