fix(empty): Fix image slot failure issue (#6681)
parent
6111883a5a
commit
0b73afffc4
|
@ -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…
Reference in New Issue