feat:更新查看原图图片格式

This commit is contained in:
2026-04-06 17:40:11 +08:00
parent 420f250bac
commit 7eeac7c465
6 changed files with 13 additions and 12 deletions

View File

@@ -73,7 +73,7 @@ import { formatDate } from 'vue3-common/utils/dateUtil'
import { useJournalStore } from '@/store/journal.ts'
import { useAppStore } from '@/store/app.ts'
import { useRouter } from 'vue-router'
import { AListUrl, ThumbImageQuery } from '@/utils'
import { AListUrl, RawImageQuery, ThumbImageQuery } from '@/utils'
import { showImagePreview } from 'vant'
const props = defineProps({
@@ -107,7 +107,7 @@ const showToggle = computed(() => overflowLines.value > 0)
const toggleExpand = () => expanded.value = !expanded.value
const viewImageClick = () => {
showImagePreview({ images: [props.item?.imageUrl], closeable: true })
showImagePreview({ images: [props.item?.imageUrl + RawImageQuery], closeable: true })
}
const editClick = async () => {