Browse Source

fix: tree-select searchPlaceholder incorrect #125

pull/139/head
tangjinzhou 6 years ago
parent
commit
a07f50c31a
  1. 2
      components/vc-tree-select/src/Select.jsx

2
components/vc-tree-select/src/Select.jsx

@ -437,7 +437,7 @@ const Select = {
if (isMultiple(props)) { if (isMultiple(props)) {
placeholder = getComponentFromProp(this, 'placeholder') || getComponentFromProp(this, 'searchPlaceholder') placeholder = getComponentFromProp(this, 'placeholder') || getComponentFromProp(this, 'searchPlaceholder')
} else { } else {
placeholder = getComponentFromProp(this, 'placeholder') placeholder = getComponentFromProp(this, 'searchPlaceholder')
} }
if (placeholder) { if (placeholder) {
return ( return (

Loading…
Cancel
Save