zoukankan      html  css  js  c++  java
  • freemarker与vue使用图片路径获取问题,可双单引号一起使用则可

                                            <el-table :data="leftPage.datas" style=" 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>

  • 相关阅读:
    get ,post接口测试
    jmeter接口测试 day11
    接口笔记,day01
    python 列表、元组 达内笔记
    linux 笔记达内03
    linux 笔记达内02
    linux 笔记达内01
    Linux/Unix系统下常用的命令
    PageObjectModel页面对象模型(03)
    selenium,实现ECShop后台登录模块测试代码(2)
  • 原文地址:https://www.cnblogs.com/youxiu326/p/10540782.html
Copyright © 2011-2022 走看看