react-native 报错 react native undefined is not...

收藏
ReactNative
4
Feb 5, 2018

报错:react native  undefined is not an object (evaluating this....

 

回答

小泽回答

this指向问题, 一般是忘记bind(this),只要回调函数中需要用到this的,一般都需要bind.

(0)

提交成功