更改滚动事件
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
* @Author: Zy
|
* @Author: Zy
|
||||||
* @Date: 2026-05-18 15:36:10
|
* @Date: 2026-05-18 15:36:10
|
||||||
* @LastEditor: Zy
|
* @LastEditor: Zy
|
||||||
* @LastEditTime: 2026-06-29 08:28:25
|
* @LastEditTime: 2026-07-08 17:26:41
|
||||||
*/
|
*/
|
||||||
let baseUrl = ''
|
let baseUrl = ''
|
||||||
|
|
||||||
|
|||||||
@@ -142,7 +142,14 @@ function getlist() {
|
|||||||
onShow(() => {
|
onShow(() => {
|
||||||
getlist()
|
getlist()
|
||||||
})
|
})
|
||||||
|
function scrolltolower() {
|
||||||
|
// 必须加这两个判断!
|
||||||
|
if (isLoading.value || !hasMore.value) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
queryParmas.value.pageNum += 1
|
||||||
|
getlist()
|
||||||
|
}
|
||||||
function resetList() {
|
function resetList() {
|
||||||
searchlist.value = []
|
searchlist.value = []
|
||||||
queryParmas.value.pageNum = 1
|
queryParmas.value.pageNum = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user