Vue问题(1)----vue2.X中属性使用插值表达式 Masion 2021-07-22 168 阅读1分钟 这个问题是因为在vue2.x中不支持对属性使用插值({{}})的方式进行赋值,所以要使用v-bind指令(或简写“:”)来指定属性。 v-bind指令 v-bind:src="item.imgurl" v-bind简写指令: :src="item.imgurl"