This commit is contained in:
13713575202 2025-04-17 15:28:24 +08:00
commit c9ef1d6a5e

View File

@ -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>