列表展示图片效果,直接把url的属性赋值给:src就可以了。

 

<el-table-column prop="banner_image" label="轮播图">
                <template slot-scope="scope">
                    <img :src="scope.row.banner_image" alt="轮播图" width="120px" height="60px">
                </template>
            </el-table-column>

vue table组件显示一个图片

相关文章:

  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2021-07-01
  • 2022-12-23
  • 2021-07-19
猜你喜欢
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2022-12-23
相关资源
相似解决方案