From bb47a9487473e5a817c76a7df82009f66e1dc5f6 Mon Sep 17 00:00:00 2001 From: HQ-Lin Date: Mon, 24 Jan 2022 10:30:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=20select=20=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/select/base/PopupContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/select/base/PopupContent.tsx b/src/select/base/PopupContent.tsx index f0f46ef26..8a912376c 100644 --- a/src/select/base/PopupContent.tsx +++ b/src/select/base/PopupContent.tsx @@ -129,7 +129,7 @@ const PopupContent = (props: SelectPopupProps) => { const isEmpty = (Array.isArray(childrenWithProps) && !childrenWithProps.length) || (options && options.length === 0); return ( -
+
{panelTopContent} {isEmpty &&
{empty ? empty :

{emptyText}

}
} {!isEmpty && loading &&
{loadingText}
}