feat:更新图片存储路径
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user