当前位置: 代码迷 >> 综合 >> v-bind 对 href 和src 路径的拼接
  详细解决方案

v-bind 对 href 和src 路径的拼接

热度:68   发布时间:2023-11-21 14:25:40.0

写法:

 v-bind:src="'${request.contextPath}/static/videoImg/'+data.imgUrl+''"

href :只需要把src替换掉即可

  相关解决方案