图片地址问题修改
This commit is contained in:
parent
0378087eeb
commit
c969d924fc
@ -26,8 +26,8 @@
|
||||
<el-table-column label="产品名称" align="center" prop="sellproName" />
|
||||
<el-table-column label="产品图片" align="center" prop="sellproImg" width="180">
|
||||
<template v-slot:default="{ row }">
|
||||
<div class="image" @click="previewImage(`${image.baseUrl + row.sellproImg}`, row)">
|
||||
<img style="width: 50px; height: 50px" :src="`${image.baseUrl + row.sellproImg}`" />
|
||||
<div class="image" @click="previewImage(`${row.sellproImg}`, row)">
|
||||
<img style="width: 50px; height: 50px" :src="`${row.sellproImg}`" />
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
@ -32,8 +32,8 @@
|
||||
|
||||
<el-table-column label="模版背景图" align="center" prop="templateBgi">
|
||||
<template v-slot:default="{ row }">
|
||||
<div class="image" @click="previewImage(`${image.baseUrl + row.templateBgi}`, row)">
|
||||
<img style="width: 50px; height: 50px" :src="`${image.baseUrl + row.templateBgi}`" />
|
||||
<div class="image" @click="previewImage(`${row.templateBgi}`, row)">
|
||||
<img style="width: 50px; height: 50px" :src="`${row.templateBgi}`" />
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
Loading…
x
Reference in New Issue
Block a user