转自:https://idig8.com/2018/09/21/xiaochengxujavashizhanxiaochengxuyemiandeshanglaxialashuaxin49/之前已经完成了小程序的列表展示,但是对于上拉和下拉刷新这个功能,其实跟小程序的生命周期有关系,一起回顾下完成,上拉和下拉刷新。源码:https://github.com/limingios/wxProgram.git 中wx-springboot 和 No.15回顾下 page的生命周期https://developers.weixin.qq.com/miniprogram/dev/framework/app-service/page.html 列...
前已经完成了小程序的列表展示,但是对于上拉和下拉刷新这个功能,其实跟小程序的生命周期有关系,一起回顾下完成,上拉和下拉刷新。源码:https://github.com/limingios/wxProgram.git 中wx-springboot 和 No.15回顾下 page的生命周期https://developers.weixin.qq.com/miniprogram/dev/framework/app-service/page.html 列表小程序端完成 上拉,下拉刷新功能 onReachBottom 上拉刷新 onPullDownRefresh 下拉刷新 需要在app.json...