[improvement] Toast: optimize image icon display (#3895)
This commit is contained in:
+3
-1
@@ -44,7 +44,9 @@ function Icon(
|
||||
{...inherit(ctx, true)}
|
||||
>
|
||||
{slots.default && slots.default()}
|
||||
{imageIcon && <Image class={bem('image')} fit="contain" src={props.name} />}
|
||||
{imageIcon && (
|
||||
<Image class={bem('image')} fit="contain" src={props.name} showLoading={false} />
|
||||
)}
|
||||
<Info info={props.info} />
|
||||
</props.tag>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user