【发布时间】:2020-04-25 03:59:11
【问题描述】:
我有以下错误:
src="/images/{{ this.phCode }}/{{ this.galCode }}/thumb/thumb_{{ this.fileName }}":
Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead.
For example, instead of <div id="{{ val }}">, use <div :id="val">.
虽然该示例非常清楚,但我很难理解如何针对我的情况执行此操作,因为我在属性中有多个变量。
【问题讨论】:
标签: vue.js attributes interpolation