点击事件冲突解决

点击事件冲突

clickItem(e,index,item) {
	if(e.target.tagName.toLowerCase() === 'a'){
                this.readHistory(index,item)
       }else{
       	this.list[index].checked = !this.list[index].checked
       }
},
发布了62 篇原创文章 · 获赞 33 · 访问量 7万+

猜你喜欢

转载自blog.csdn.net/Silence_Sep/article/details/102782781