我在app.json 的window项下增加了"enablePullDownRefresh": true,同时在index.json里增加了"enablePullDownRefresh": true。之后
在index.js里增加了onPullDownRefresh方法。但在保存后。程序无法下拉。。。
同时。在index.js里增加了onReachBottom 方法。在方法里面console.log了一段话。。测试的时候也没有触发这个方法。
请问是什么原因,谢谢。
我在app.json 的window项下增加了"enablePullDownRefresh": true,同时在index.json里增加了"enablePullDownRefresh": true。之后
在index.js里增加了onPullDownRefresh方法。但在保存后。程序无法下拉。。。
同时。在index.js里增加了onReachBottom 方法。在方法里面console.log了一段话。。测试的时候也没有触发这个方法。
请问是什么原因,谢谢。
1 个回答
我只知道放在scrollview里面无法触发