摘要: 一、事件对象: click="show($event)" 二、事件冒泡: 阻止冒泡:(1) ev.cancelBubble=true; (2) @click.stop(推荐) 三、默认事件:contextmenu(右键) 阻止默认行为:(1) ev.preventDefault; (2) @cont 阅读全文
posted @ 2017-07-06 17:04 sunwy927 阅读(182) 评论(0) 推荐(0) 编辑