Skip to content

Commit

Permalink
feat: 优化 select 样式
Browse files Browse the repository at this point in the history
  • Loading branch information
honkinglin committed Jan 24, 2022
1 parent 69618b7 commit bb47a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select/base/PopupContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const PopupContent = (props: SelectPopupProps) => {
const isEmpty = (Array.isArray(childrenWithProps) && !childrenWithProps.length) || (options && options.length === 0);

return (
<div>
<div className={`${classPrefix}-select__dropdown-inner`}>
{panelTopContent}
{isEmpty && <div className={`${classPrefix}-select__empty`}>{empty ? empty : <p>{emptyText}</p>}</div>}
{!isEmpty && loading && <div className={`${classPrefix}-select__loading-tips`}>{loadingText}</div>}
Expand Down

0 comments on commit bb47a94

Please sign in to comment.