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
|
<el-image
|
||||||
style="border-radius: 5px; height: 80px; width: 120px; margin-bottom: -5px"
|
style="border-radius: 5px; height: 80px; width: 120px; margin-bottom: -5px"
|
||||||
lazy
|
lazy
|
||||||
:preview-src-list="[baseUrl + scope.row.imgUrl]"
|
:preview-src-list="[scope.row.imgUrl]"
|
||||||
:src="baseUrl + scope.row.imgUrl"
|
:src="scope.row.imgUrl"
|
||||||
fit="cover"
|
fit="cover"
|
||||||
></el-image>
|
></el-image>
|
||||||
</template>
|
</template>
|
||||||
|
@ -30,8 +30,8 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="店铺图片" align="center" prop="shopImg" width="180">
|
<el-table-column label="店铺图片" align="center" prop="shopImg" width="180">
|
||||||
<template v-slot:default="{ row }">
|
<template v-slot:default="{ row }">
|
||||||
<div class="image" @click="previewImage(row.shopImg, row)">
|
<div class="image" @click="previewImage(row.shopImg.length > 0 ? row.shopImg.split(',')[0] : '', row)">
|
||||||
<img style="width: 50px; height: 50px" :src="row.shopImg" />
|
<img style="width: 50px; height: 50px" :src="row.shopImg.length > 0 ? row.shopImg.split(',')[0] : ''" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user