pageNum -> current
This commit is contained in:
parent
2f8eb94bf9
commit
30e60ec42e
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user