【Angular】angular 点击事件阻止冒泡及默认行为

阻止冒泡 $event.stopPropagation()

阻止默认行为 $event.preventDefault()

    stop($event){
        $event.stopPropagation();
        $event.preventDefault();
    }
原文地址:https://www.cnblogs.com/mailyuan/p/13863701.html