From 72f8e1f5dc8ec98f137141ec3e5718fb7a1dfe84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=84=B6=E5=88=99?= Date: Thu, 14 Apr 2016 18:47:37 +0800 Subject: [PATCH] correct tree-select doc --- components/tree-select/index.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/tree-select/index.md b/components/tree-select/index.md index c5f22ea0a7..874258f924 100644 --- a/components/tree-select/index.md +++ b/components/tree-select/index.md @@ -20,8 +20,7 @@ english: TreeSelect | value | 指定当前选中的条目 | 通常: String/Array. 设置labelInValue: {value:String,label:React.Node}/Array<{value,label}>. 设置treeCheckStrictly(halfChecked默认为false): {value:String,label:React.Node, halfChecked}/Array<{value,label,halfChecked}>. | 无 | | labelInValue | 是否把 label 嵌入到 value 里,设置后参考以上 value 类型写法 | boolean | false | | defaultValue | 指定默认选中的条目 | string/Array | 无 | -| multiple | 支持多选 | boolean | false | -| tags | 可以把随意输入的条目作为 tag,输入项不需要与下拉选项匹配 | boolean |false | +| multiple | 支持多选(当设置 treeCheckable 时自动变为true) | boolean | false | | onSelect | 被选中时调用,参数为选中项的 value 值 | function(value, node, extra) | 无 | | onChange | 选中树节点,或input的value变化(combobox 模式下)时,调用此函数 | function(value, label, extra) | 无 | | allowClear | 显示清除按钮 | boolean | false |