feat:更新查看原图图片格式
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user