vue给每个元素绑定事件和原生一样浪费资源吗?vue有类似事件代理的语法糖吗?
<div class="thumbnail-body form-inline">
<div class="thumbnail-li" v-for="el in list" v-bind:name="el.id" v-on:click="saveId">
<img v-bind:src="el.url" />
<input type="checkbox" v-model="el.checked"/>
<span>{{el.name}}</span>
</div>
</div>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…