Skip to content

Commit

Permalink
fix:还原注释内容
Browse files Browse the repository at this point in the history
  • Loading branch information
SunLxy committed Jun 18, 2022
1 parent 987087a commit 0877f32
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/react-search-select/src/index.tsx
Expand Up @@ -340,14 +340,14 @@ export default function SearchSelect(props: SearchSelectProps) {
placeholder={selectedValue.length ? '' : placeholder}
/>
</div>
{/* {!disabled && (selectIconType === 'close' || (selectIconType === 'loading' && loading)) && ( */}
<Icon
className={`${prefixCls}-multiple-colse`}
type={'close'}
spin={loading && selectIconType === 'loading'}
onClick={resetSelectedValue}
/>
{/* )} */}
{!disabled && (selectIconType === 'close' || (selectIconType === 'loading' && loading)) && (
<Icon
className={`${prefixCls}-multiple-colse`}
type={selectIconType}
spin={loading && selectIconType === 'loading'}
onClick={resetSelectedValue}
/>
)}
</div>
) : (
<Input
Expand Down

0 comments on commit 0877f32

Please sign in to comment.