From 4d5f95f7dd0161934f441929f04b9a2745a012fe Mon Sep 17 00:00:00 2001 From: ronger Date: Tue, 26 Jul 2022 21:04:19 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=8E=A5=E5=8F=A3=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E7=BB=93=E6=9E=84=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- store/notification.js | 2 +- store/portfolio.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/store/notification.js b/store/notification.js index 13025ad..9fcbccd 100644 --- a/store/notification.js +++ b/store/notification.js @@ -39,7 +39,7 @@ export const actions = { let currentData = JSON.parse(JSON.stringify(state)).list.data let updateState = state.updateState if (!updateState) { - if (Number(params.page) === currentData?.pagination.currentPage) { + if (Number(params.page) === currentData?.pageNum) { commit('updateListFetching', false) return } diff --git a/store/portfolio.js b/store/portfolio.js index a7ac0ee..53815b8 100644 --- a/store/portfolio.js +++ b/store/portfolio.js @@ -76,7 +76,7 @@ export const actions = { // 清空已有数据 commit('updateListFetching', true) let currentData = JSON.parse(JSON.stringify(state)).list.data - if (Number(params.page) === currentData.pagination.currentPage) { + if (Number(params.page) === currentData.pageNum) { commit('updateListFetching', false) return }