<el-table :data="leftPage.datas" style="width: 100%" @selection-change="handleSelectionChange1">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column type="index" width="20"></el-table-column>
<el-table-column prop="img" label="图片" width="100">
<template scope="scope">
<img :src="'${imgServer}'+scope.row.img" width="50px" height="50px">
</template>
</el-table-column>
<el-table-column prop="name" label="名称" ></el-table-column>
<el-table-column prop="price" label="价格" width="80"></el-table-column>
<el-table-column prop="disPrice" label="优惠价" width="80"></el-table-column>
<el-table-column prop="type" label="类型" width="100"></el-table-column>
<el-table-column prop="designer.name" label="设计师" width="100"></el-table-column>
</el-table>
freemarker与vue使用图片路径获取问题,可双单引号一起使用则可
最新推荐文章于 2023-07-30 16:31:28 发布