stopPropagation: function(e){
e.stopPropagation();
e.nativeEvent.stopImmediatePropagation();
}
这就可以阻止react中冒泡了
关于react中阻止冒泡的方法
猜你喜欢
转载自blog.csdn.net/Deng_gene/article/details/78131639
今日推荐
周排行