From 7fb145e9364fd3fee64470fc5fb08f223357ab8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=AE=E5=8F=AE=E5=BD=93?= <604054726@qq.com> Date: Sat, 5 Aug 2023 09:08:09 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=BC=94=E5=91=98=E9=98=B5=E5=AE=B9?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E9=87=8D=E5=A4=8D=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/discover/PersonCardListView.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/discover/PersonCardListView.vue b/src/views/discover/PersonCardListView.vue index 1f71f326..8b7b5aac 100644 --- a/src/views/discover/PersonCardListView.vue +++ b/src/views/discover/PersonCardListView.vue @@ -53,7 +53,11 @@ async function fetchData({ done }: { done: any }) { // 加载多次 while (!hasScroll()) { // 请求API - currData.value = await api.get(props.apipath) + currData.value = await api.get(props.apipath, { + params: { + page: page.value, + }, + }) // 标计为已请求完成 isRefreshed.value = true