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">. 报错解决
报错如图,看提示是 属性内的值已被移除更换另一种方式:
原写法:
1 <a target="_blank" href="'http://xxxxxxxx'+{{env}}"> {{env}}</a>
修改后:
1 <a target="_blank" v-bind:href="'http://xxxxxxxx'+env"> {{env}}</a>
问题解决