element中表格的另一种显示方法
正常(默认展示该数据的相关属性值):
<el-table-column
prop="name"
label="姓名"
width="180"
></el-table-column>
转换法(去掉prop属性,改为用值判断显示内容):
<el-table-column
label="图像"
width="180"
>
<template slot-scope="scope">
<img :src="scope.row.image" width="100px" height="70px">
</template>
</el-table-column>