fix: tree-select searchPlaceholder incorrect #125

pull/139/head
tangjinzhou 6 years ago
parent 6cd609c7d8
commit a07f50c31a

@ -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