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)) {
placeholder = getComponentFromProp(this, 'placeholder') || getComponentFromProp(this, 'searchPlaceholder')
} else {
placeholder = getComponentFromProp(this, 'placeholder')
placeholder = getComponentFromProp(this, 'searchPlaceholder')
}
if (placeholder) {
return (

Loading…
Cancel
Save