<el-table-column
prop="imagePath"
header-align="center"
align="center"
width="150px"
label="图片">
<template slot-scope="scope">
<el-popover
placement="right"
title=""
trigger="click">
<img :src="scope.row.imagePath" style="width:500px">
<img slot="reference" :src="scope.row.imagePath" :alt="scope.row.imagePath" style="max-height: 50px;max-width: 130px">
</el-popover>
</template>
</el-table-column>
el-table里面hover,click图片 右侧放大
最新推荐文章于 2024-06-27 14:09:40 发布