From a07f50c31acfff2a7c0cf86092c150d3767d5de9 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sun, 19 Aug 2018 13:21:56 +0800 Subject: [PATCH] fix: tree-select searchPlaceholder incorrect #125 --- components/vc-tree-select/src/Select.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/vc-tree-select/src/Select.jsx b/components/vc-tree-select/src/Select.jsx index 8e1580c56..02ec2861c 100644 --- a/components/vc-tree-select/src/Select.jsx +++ b/components/vc-tree-select/src/Select.jsx @@ -437,7 +437,7 @@ const Select = { if (isMultiple(props)) { placeholder = getComponentFromProp(this, 'placeholder') || getComponentFromProp(this, 'searchPlaceholder') } else { - placeholder = getComponentFromProp(this, 'placeholder') + placeholder = getComponentFromProp(this, 'searchPlaceholder') } if (placeholder) { return (