1:Cannot read property 'setNativeProps' of undefined
code2.png
code1.png
native.png
原因:native-base封裝的text組件會(huì)導(dǎo)致丟失this指針
解決:改成react-native 的text
1:Cannot read property 'setNativeProps' of undefined
原因:native-base封裝的text組件會(huì)導(dǎo)致丟失this指針
解決:改成react-native 的text