//下拉刷新
onPullDownRefresh() {
this.data.pageIndex = 1;
this.getList();
},
//下拉刷新需在请求结束后停止刷新
my.stopPullDownRefresh({
complete(res) {
// console.log(res, new Date())
}
})
//上拉加载
onReachBottom() {
this.data.pageIndex += 1;
this.getList();
},
web-view组件使用需要在钉钉开发者后台添加Webview安全域名