Merge branch 'main' of http://47.109.205.240:3000/Web/digital-agriculture-admin
This commit is contained in:
commit
c38566e76b
@ -47,8 +47,8 @@
|
||||
<el-image
|
||||
style="border-radius: 5px; height: 80px; width: 120px; margin-bottom: -5px"
|
||||
lazy
|
||||
:preview-src-list="[baseUrl + scope.row.imgUrl]"
|
||||
:src="baseUrl + scope.row.imgUrl"
|
||||
:preview-src-list="[scope.row.imgUrl]"
|
||||
:src="scope.row.imgUrl"
|
||||
fit="cover"
|
||||
></el-image>
|
||||
</template>
|
||||
|
@ -30,8 +30,8 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="店铺图片" align="center" prop="shopImg" width="180">
|
||||
<template v-slot:default="{ row }">
|
||||
<div class="image" @click="previewImage(row.shopImg, row)">
|
||||
<img style="width: 50px; height: 50px" :src="row.shopImg" />
|
||||
<div class="image" @click="previewImage(row.shopImg.length > 0 ? row.shopImg.split(',')[0] : '', row)">
|
||||
<img style="width: 50px; height: 50px" :src="row.shopImg.length > 0 ? row.shopImg.split(',')[0] : ''" />
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
Loading…
x
Reference in New Issue
Block a user