vue 点击事件阻止冒泡 用stop

1.使用vue阻止子级元素的click事件冒泡,很简单,用stop。eg: @click.stop='xxx'

posted @ 2018-11-30 11:55  惊沙男孩  阅读(3835)  评论(0编辑  收藏  举报