事件绑定 v-on
传参的同时,接收事件对象
<button @click="test('111', $evnt)">哈哈</button>
事件修饰符
阻止事件的默认行为
<a href="www.baidu.com" @click.prevent="jumpFunc">百度</a>
停止事件冒泡
<div @click="innerFunc">
<div @click.stop="innerFunc"></div>
</div>
按键修饰符
<input type="text" @click.enter="myFunc"/>
<input type="text" @click.65="myFunc"/>监视了 A 键