This commit is contained in:
shikong 2024-10-17 16:41:13 +08:00
parent 7863c1ba57
commit eca6956729
Signed by: Shikong
GPG Key ID: BD85FF18B373C341

View File

@ -46,7 +46,7 @@ function previewImage(item) {
</swiper-item> </swiper-item>
<swiper-item v-for="item in ctx.pic.list" :key="item.id"> <swiper-item v-for="item in ctx.pic.list" :key="item.id">
<image @tap="previewImage(item)" :src="item.url" class="w-full h-full"></image> <image @tap="previewImage(item)" :src="item.url" class="w-full h-full" mode="aspectFill"></image>
</swiper-item> </swiper-item>
</swiper> </swiper>
</template> </template>