fix docs typo (#1266)

fix default-expand-keys => default-expanded-keys
pull/1285/head
郑瑞召 2016-11-22 23:28:19 +08:00 committed by FuryBean
parent 24c5ff8c4c
commit a65a62f65c
2 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ Used for node selection. In the following example, data for each layer is acquir
| highlight-current | whether current node is highlighted | boolean | - | false |
| default-expand-all | whether to expand all nodes by default | boolean | - | false |
| auto-expand-parent | whether to expand father node when a child node is expanded | boolean | — | true |
| default-expand-keys | array of keys of initially expanded nodes | array | — | — |
| default-expanded-keys | array of keys of initially expanded nodes | array | — | — |
| show-checkbox | whether node is selectable | boolean | — | false |
| check-strictly | whether checked state of a node not affects its father and child nodes when `show-checkbox` is `true` | boolean | — | false |
| default-checked-keys | array of keys of initially checked nodes | array | — | — |

View File

@ -238,7 +238,7 @@
| highlight-current | 是否高亮当前选中节点,默认值是 false。| boolean | - | false |
| default-expand-all | 是否默认展开所有节点 | boolean | - | false |
| auto-expand-parent | 展开子节点的时候是否自动展开父节点 | boolean | — | true |
| default-expand-keys | 默认展开的节点的 key 的数组 | array | — | — |
| default-expanded-keys | 默认展开的节点的 key 的数组 | array | — | — |
| show-checkbox | 节点是否可被选择 | boolean | — | false |
| check-strictly | 在显示复选框的情况下,是否严格的遵循父子不互相关联的做法,默认为 false | boolean | — | false |
| default-checked-keys | 默认勾选的节点的 key 的数组 | array | — | — |