Skip to content

Commit 0877f32

Browse files
committedJun 18, 2022
fix:还原注释内容
1 parent 987087a commit 0877f32

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎packages/react-search-select/src/index.tsx

+8-8
Original file line numberDiff line numberDiff line change
@@ -340,14 +340,14 @@ export default function SearchSelect(props: SearchSelectProps) {
340340
placeholder={selectedValue.length ? '' : placeholder}
341341
/>
342342
</div>
343-
{/* {!disabled && (selectIconType === 'close' || (selectIconType === 'loading' && loading)) && ( */}
344-
<Icon
345-
className={`${prefixCls}-multiple-colse`}
346-
type={'close'}
347-
spin={loading && selectIconType === 'loading'}
348-
onClick={resetSelectedValue}
349-
/>
350-
{/* )} */}
343+
{!disabled && (selectIconType === 'close' || (selectIconType === 'loading' && loading)) && (
344+
<Icon
345+
className={`${prefixCls}-multiple-colse`}
346+
type={selectIconType}
347+
spin={loading && selectIconType === 'loading'}
348+
onClick={resetSelectedValue}
349+
/>
350+
)}
351351
</div>
352352
) : (
353353
<Input

0 commit comments

Comments
 (0)
Please sign in to comment.