Fix select demo

This commit is contained in:
afc163 2017-08-11 10:44:13 +08:00
parent af9dc73eef
commit c79592cf05
2 changed files with 8 additions and 1 deletions

View File

@ -848,6 +848,13 @@ exports[`renders ./components/select/demo/tags.md correctly 1`] = `
<div
class="ant-select-selection__rendered"
>
<div
class="ant-select-selection__placeholder"
style="display:block;user-select:none;-webkit-user-select:none;"
unselectable="unselectable"
>
标签模式
</div>
<ul>
<li
class="ant-select-search ant-select-search--inline"

View File

@ -30,7 +30,7 @@ ReactDOM.render(
<Select
mode="tags"
style={{ width: '100%' }}
searchPlaceholder="标签模式"
placeholder="标签模式"
onChange={handleChange}
>
{children}