VUE初长成【获取当前点击元素的方法】

vue获取当前点击元素的方法

<div  @click = "fn($event)">点击</div> 
fn(e) {
// e.target 是你当前点击的元素
// e.currentTarget 是你绑定事件的元素
}