pageNum -> current

This commit is contained in:
2022-08-04 09:14:52 +08:00
förälder 2f8eb94bf9
incheckning 30e60ec42e
2 ändrade filer med 2 tillägg och 2 borttagningar

Visa fil

@@ -127,7 +127,7 @@ export default {
let listHeight = clientHeight - headerHeight // list高度
if (scrollTop - (scrollHeight - listHeight) >= -80 && this.isFirstScroll) {
this.isFirstScroll = false
this.pageNum += 1
this.queryList.current += 1
if (this.isOver) {
this.isOver = !this.isOver
this.getDataList()

Visa fil

@@ -81,7 +81,7 @@ export default {
let listHeight = clientHeight - headerHeight // list高度
if (scrollTop - (scrollHeight - listHeight) >= -80 && this.isFirstScroll) {
this.isFirstScroll = false
this.pageNum += 1
this.queryList.current += 1
if (this.isOver) {
this.isOver = !this.isOver
this.getDataList()