this.xxx("mousedown",function(event){ console.log("here"); }).bind(this) this.xxx("mousedown",(event) => { console.log("herehere") }) 这两种是一个意思都是让匿名函数里的this指向外部的this