vue-admin-template 表单显示图片
·
<el-table-column label="图片" width="100" align="center">
<template slot-scope="scope">
<el-image style="width: 80px; height: 80px; border-radius: 10%" :src="scope.row.item_img" fit="cover"></el-image>
</template>
</el-table-column>
先这样,然后这样,然后就显示了。
<el-image style="width: 80px; height: 80px; border-radius: 10%" :src="scope.row.item_img" fit="cover"></el-image>
更多推荐
所有评论(0)