feat:更新上传图片和视频组件

This commit is contained in:
2026-02-04 22:24:39 +08:00
parent e5e1e5e2b3
commit 45342fb55c
17 changed files with 328 additions and 107 deletions

View File

@@ -12,8 +12,8 @@
<el-card class="record-card">
<span class="record-content">完成人{{ item.person }}</span>
<el-image v-if="item.imageUrl"
:src="AListPath + item.imageUrl"
:preview-src-list="[AListPath + item.imageUrl]"
:src="AListUrl + item.imageUrl"
:preview-src-list="[AListUrl + item.imageUrl]"
fit="contain" alt="暂无图片" class="record-image"/>
</el-card>
</el-timeline-item>
@@ -25,7 +25,7 @@
<script setup lang="ts">
import { useFoodStore } from '@/store/food.ts'
import { AListPath } from '@/utils'
import { AListUrl } from '@/utils'
import { SvgIcon } from 'vue3-common'
const foodStore = useFoodStore()