<a :id="‘anchor-‘+1" href="javascript:void(0)" @click="getRowId($event)" >click me</a> console.log(event.currentTarget.id)
vue-获取<a :id></a>标签的id值
原文:https://www.cnblogs.com/ladlin/p/13060062.html