diff --git a/components/empty/index.tsx b/components/empty/index.tsx index 89a1e8f65..d0ce00b30 100644 --- a/components/empty/index.tsx +++ b/components/empty/index.tsx @@ -36,7 +36,7 @@ const Empty: EmptyType = (props, { slots = {}, attrs }) => { const prefixCls = prefixClsRef.value; const { - image = defaultEmptyImg, + image = slots.image?.() || defaultEmptyImg, description = slots.description?.() || undefined, imageStyle, class: className = '',