<h1 @click='clickHot'>热门</h1>
methods:{
clickHot(e){
console.log(e)
}
}
console.log(e)打印出来如下图:
<h1 @click='clickHot'>热门</h1>
methods:{
clickHot(e){
console.log(e)
}
}
console.log(e)打印出来如下图: