pull/8198/merge
SonicKang 2025-07-09 16:59:39 +08:00 committed by GitHub
commit 37fcf68b35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ const ImageInternal = defineComponent({
ref={img} ref={img}
/> />
{status.value === 'loading' && ( {(status.value === 'loading' || status.value === 'error') && (
<div aria-hidden="true" class={`${prefixCls}-placeholder`}> <div aria-hidden="true" class={`${prefixCls}-placeholder`}>
{placeholder || (slots.placeholder && slots.placeholder())} {placeholder || (slots.placeholder && slots.placeholder())}
</div> </div>