react 小坑记录

157 阅读1分钟

react

this指向 调用时 this指向变为undfied .需要用回调函数this.method() ()必加