<div @click.capture="do1" style="width:40px;height:40px;background:red">
<div @click.capture.stop="do2" style="width:20px;height:20px;background:blue">
</div>
</div>
capture:
先触发带有capture的事件,从外到内
如果父元素没带capture,就会先触发带有capture再触发外面的
stop:
阻止事件冒泡,就是指触发自己的事件