From 30e60ec42ef94d81dfe2b721b0df5282cc7c3c2f Mon Sep 17 00:00:00 2001 From: gtz217 <535262213@qq.com> Date: Thu, 4 Aug 2022 09:14:52 +0800 Subject: [PATCH] pageNum -> current --- src/pages/eqInspection/eqInspection.vue | 2 +- src/pages/material/material.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/eqInspection/eqInspection.vue b/src/pages/eqInspection/eqInspection.vue index 051c148..9dcbe58 100644 --- a/src/pages/eqInspection/eqInspection.vue +++ b/src/pages/eqInspection/eqInspection.vue @@ -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() diff --git a/src/pages/material/material.vue b/src/pages/material/material.vue index f95f711..d387ac7 100644 --- a/src/pages/material/material.vue +++ b/src/pages/material/material.vue @@ -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()