什么是事件冒泡
<body><div id="app"><div>{{num}}</div><div v-on:click='handle0'><button v-on:click.stop='handle1'>点击1</button></div><div><a href="" v-on:click.prevent='handle2'>百度</a></div></div><script type="text/javascript" src="js/vue.js"></script><script type="text/javascript">/*事件绑定-事件修饰符*/var vm = new Vue({el: '#app',data: {num: 0},methods: {handle0: function(){this.num++;},handle1: function(event){// 阻止冒泡// event.stopPropagation();},handle2: function(event){// 阻止默认行为// event.preventDefault();}}});</script></body>