修改下拉
This commit is contained in:
@@ -116,7 +116,13 @@ function scrolltolower() {
|
||||
|
||||
function getlist() {
|
||||
// 1. 如果正在加载或没有更多数据,直接返回
|
||||
if (isLoading.value || !hasMore.value) return
|
||||
if (isLoading.value || !hasMore.value) {
|
||||
if (isRefresh) {
|
||||
uni.stopPullDownRefresh()
|
||||
isRefresh = false
|
||||
}
|
||||
return
|
||||
}
|
||||
// 2. 开启锁
|
||||
isLoading.value = true
|
||||
const { pageNum, pageSize, deviceType } = queryParmas.value
|
||||
|
||||
Reference in New Issue
Block a user