loading="eager"
This commit is contained in:
parent
8a893cfe2a
commit
c1e1cb15c7
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div :class="[$style.root, { [$style.cover]: cover }]" :title="title ?? ''">
|
||||
<img v-if="!loaded && src" :class="$style.loader" :src="src" @load="onLoad"/>
|
||||
<img v-if="!loaded && src" :class="$style.loader" :src="src" loading="eager" @load="onLoad"/>
|
||||
<Transition
|
||||
mode="in-out"
|
||||
:enter-active-class="defaultStore.state.animation && (props.transition?.enterActiveClass ?? $style['transition_toggle_enterActive']) || undefined"
|
||||
|
|
Loading…
Reference in a new issue