标签: javascript reactjs
<div onClick={e => this.openDetail}> <div onClick{e => this.handleLike} /> like </div> </div>
e.stopPropagation();如何做出反应?我尝试将它放在两个处理程序中,openDetail将始终触发。
e.stopPropagation();
openDetail