fix(empty): Fix image slot failure issue (#6681)

pull/6800/head
Zhang Wei 1 year ago committed by GitHub
parent 6111883a5a
commit 0b73afffc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 = '',

Loading…
Cancel
Save