Skip to content

Commit

Permalink
fix: 删除相册缩略图路径后面多出来的.jpg
Browse files Browse the repository at this point in the history
  • Loading branch information
shatian114 committed Sep 22, 2024
1 parent 0f3732a commit 9984e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/gallery/GalleryIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function closeBigImg() {
:key="photo.file">
<img
loading="lazy"
:src="`/gallery/thumbs/${photo.file}.jpg`"
:src="`/gallery/thumbs/${photo.file}`"
:alt="photo.desc"
class="cursor-pointer w-[100%] max-w-[100%] object-cover aspect-video"
@click="clickImg(gallery, index)" />
Expand Down

0 comments on commit 9984e12

Please sign in to comment.