事件回调函数内使用了this,调用时需要bind(this)
按下事件
onPress={this.回调}
文本内容改变事件
onChangeText={this.回调}; 回调函数的形参为文本内容
rn 事件
猜你喜欢
转载自blog.csdn.net/weixin_43294560/article/details/105087855
今日推荐
周排行