uniapp——下拉刷新
[ 2024-09-07 10:42:46 | 作者: admin ]
p.s. 需要设置pages.json和具体pages页面相关内容,PullDownRefresh 部分
原文链接:https://blog.csdn.net/xulihua_75/article/details/139836810
import {
onLoad,
onReachBottom,
onPullDownRefresh
} from '@dcloudio/uni-app'
onPullDownRefresh(() => {
getList()
setTimeout(() => {
uni.stopPullDownRefresh()
}, 1000);
})
onLoad,
onReachBottom,
onPullDownRefresh
} from '@dcloudio/uni-app'
onPullDownRefresh(() => {
getList()
setTimeout(() => {
uni.stopPullDownRefresh()
}, 1000);
})
{
"path": "pages/index/list",
"style": {
"navigationBarTitleText": "列表",
"enablePullDownRefresh": true,
"navigationStyle": "custom"
}
},
"path": "pages/index/list",
"style": {
"navigationBarTitleText": "列表",
"enablePullDownRefresh": true,
"navigationStyle": "custom"
}
},
原文链接:https://blog.csdn.net/xulihua_75/article/details/139836810
[最后修改由 admin, 于 2024-09-07 10:45:08]
评论Feed: http://blog.xg98.com/feed.asp?q=comment&id=2985
这篇日志没有评论。
此日志不可发表评论。