el-table 显示图片

  • 2022-06-29
  • 浏览 (1358)

el-table显示图片代码:

 <el-table-column align="center" prop="fullFilePath" label="图片" width="160">
    <template #default="scope">
      <img :src="scope.row.fullFilePath" width="100" height="100">
    </template>
  </el-table-column>
0  赞