一般解决this问题的话
严格模式下,匿名函数的this为undefined,非严格模式为window,箭头函数的this则是定义时所在的this
1用箭头函数
2.用 let _this=this
3.用call,apply