This commit is contained in:
77
2024-05-05 17:56:13 +08:00
parent 4d11e63c82
commit 6286753772
2 changed files with 7 additions and 3 deletions

View File

@@ -34,7 +34,11 @@
<el-table v-loading="loading" :data="userBannerList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="轮播" align="center" prop="banner" />
<el-table-column label="轮播" align="center" prop="banner" >
<template v-slot="scope">
<image-preview :src="scope.row.banner" :height="75" :width="120"/>
</template>
</el-table-column>
<el-table-column label="状态" align="center" prop="enableStatus">
<template v-slot="scope">
<cai-dict-tag :options="enableStatusList" :value="scope.row.enableStatus"/>