From be2dd9729c5875b359889b013435e03206899660 Mon Sep 17 00:00:00 2001 From: douzhuo <17611323298@163.com> Date: Fri, 6 May 2022 18:32:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/center/prohibited/details.vue | 4 ++-- pages/center/prohibited/index.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/center/prohibited/details.vue b/pages/center/prohibited/details.vue index 7bff8a3..5cbed36 100644 --- a/pages/center/prohibited/details.vue +++ b/pages/center/prohibited/details.vue @@ -329,7 +329,7 @@ nextValid() { if (this.nextPageObj.pageSize < this.nextPageObj.num) { this.innerAudioContext.pause() - this.nextPageObj.pageSize = this.nextPageObj.pageSize + 1 + this.nextPageObj.pageSize++ this.keyWordsMatching(this.nextPageObj) } else { uni.showToast({ @@ -347,7 +347,7 @@ }) } else { this.innerAudioContext.pause() - this.nextPageObj.pageSize = this.nextPageObj.pageSize - 1 + this.nextPageObj.pageSize-- this.keyWordsMatching(this.nextPageObj) } }, diff --git a/pages/center/prohibited/index.vue b/pages/center/prohibited/index.vue index 010fd37..5f781be 100644 --- a/pages/center/prohibited/index.vue +++ b/pages/center/prohibited/index.vue @@ -326,7 +326,7 @@ let newobj = res[0]; let obj = { - pageSize: index, + pageSize: index+1, num: this.totalRecords, query: { ...this.nextPageObj @@ -335,7 +335,7 @@ uni.setStorageSync('nextPageObj', JSON.stringify(obj)) uni.navigateTo({ - url: `/pages/center/prohibited/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}&index=${index+1}&isMerge=${res[0].merge}` + url: `/pages/center/prohibited/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}&index=${index}&isMerge=${res[0].merge}` }) // if (res[0].merge == 0) {