uni下拉刷新上拉加载
参考uni文档:https://uniapp.dcloud.io/api/ui/pulldown?id=onpulldownrefresh
1.在pages.json配置
{
"path": "pages/login/feedback",
"style": {
"enablePullDownRefresh": true
}
},
2.在需要的页面写
getlist() {
this.loadingTxt='正在加载中..'
this.$api.problem({ page: th
原创
2020-12-08 16:18:52 ·
92 阅读 ·
0 评论