docs: [image] update prop and example (#20349)

This commit is contained in:
btea
2025-04-05 19:37:14 +08:00
committed by GitHub
parent 27e3711968
commit 8a0a7fc45d
2 changed files with 26 additions and 21 deletions

View File

@@ -5,7 +5,11 @@
:src="url"
:preview-src-list="srcList"
fit="cover"
show-progress
>
<template #progress="{ activeIndex, total }">
<span>{{ activeIndex + 1 + '-' + total }}</span>
</template>
<template
#toolbar="{ actions, prev, next, reset, activeIndex, setActiveItem }"
>