Open gitakachan opened 3 years ago
组件想在子组件上监听自己的click的话,需要加上native修饰符
<my-component v-on:click.native="handleNativeClickEvent" />
參考自: 1.官方文檔
组件想在子组件上监听自己的click的话,需要加上native修饰符
參考自: 1.官方文檔