feat:更新图片存储路径

This commit is contained in:
2026-02-01 22:34:38 +08:00
parent c0cfbbaa15
commit 7b96e60b8d
17 changed files with 295 additions and 261 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="life-record-card card-item">
<el-image :src="serviceFileRootPath + props.productItem?.imageUrl"
:preview-src-list="[serviceFileRootPath + props.productItem?.imageUrl]"
<el-image :src="AListPath + props.productItem?.imageUrl"
:preview-src-list="[AListPath + props.productItem?.imageUrl]"
fit="contain" alt="暂无成果">
<template #error>
<div class="image-slot">
@@ -70,7 +70,7 @@ import { defineProps, onMounted, PropType } from 'vue'
import { commonElMessageBox } from 'vue3-common/utils/elUtil'
import { IProduct } from '@/types/product.ts'
import { useRouter } from 'vue-router'
import { serviceFileRootPath } from '@/utils'
import { AListPath } from '@/utils'
const productStore = useProductStore()
const router = useRouter()