fix: tree-select searchPlaceholder incorrect #125

pull/165/head
tangjinzhou 2018-08-19 13:21:56 +08:00
parent c0796f3cca
commit 5c2522615d
1 changed files with 1 additions and 1 deletions

View File

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