fix: tree-select placeholder not hide when composing #1994

pull/2005/head
tanjinzhou 2020-04-01 10:48:25 +08:00
parent 34bd7ef76d
commit 33175eca19
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ const SearchInput = {
>
{mirrorSearchValue} 
</span>
{renderPlaceholder ? renderPlaceholder() : null}
{renderPlaceholder && !mirrorSearchValue ? renderPlaceholder() : null}
</span>
);
},