We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa211fd commit 525f33bCopy full SHA for 525f33b
components/vc-image/src/Image.tsx
@@ -269,7 +269,7 @@ const ImageInternal = defineComponent({
269
ref={img}
270
/>
271
272
- {status.value === 'loading' && (
+ {(status.value === 'loading' || status.value === 'error') && (
273
<div aria-hidden="true" class={`${prefixCls}-placeholder`}>
274
{placeholder || (slots.placeholder && slots.placeholder())}
275
</div>
0 commit comments