[new feature] TreeSelect: support string type of height prop (#4107)

This commit is contained in:
neverland
2019-08-13 12:00:50 +08:00
committed by GitHub
parent 7ad5323836
commit 2843352adb
5 changed files with 23 additions and 6 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|
| items | Required datasets for the component | `Item[]` | `[]` |
| height | Height (px) | `number` | `300` |
| height | Height | `string | number` | `300` |
| main-Active-index | The index of selected parent node | `number` | `0` |
| active-id | Id of selected item | `string | number` | `0` |