import {
onLoad,
onReachBottom,
onPullDownRefresh
} from '@dcloudio/uni-app'
onPullDownRefresh(() => {
getList()
setTimeout(() => {
uni.stopPullDownRefresh()
}, 1000);
})
{
"path": "pages/index/list",
"style": {
"navigationBarTitleText": "列表",
"enablePullDownRefresh": true,
"navigationStyle": "custom"
}
},