From a75b18a4157ab486e0b51c438ac165ab3a08e3e0 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 25 七月 2024 18:10:00 +0800
Subject: [PATCH] 代码提交

---
 wechat_jiaxuan/pages/userinfo/collect.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/wechat_jiaxuan/pages/userinfo/collect.js b/wechat_jiaxuan/pages/userinfo/collect.js
index d7ad2b8..da9ee29 100644
--- a/wechat_jiaxuan/pages/userinfo/collect.js
+++ b/wechat_jiaxuan/pages/userinfo/collect.js
@@ -11,7 +11,7 @@
 
     dataList: [],
     total: 0,
-    pageNum: 1,
+    pageNum: 1, 
     pageSize: 10,
   },
   onLoad(options) {
@@ -67,7 +67,7 @@
     }).then(res => {
       if (res.data) {
         this.setData({
-          dataList: [...this.data.dataset, ...res.data.records || []],
+          dataList: [...this.data.dataList, ...res.data.records || []],
           total: res.data.total
         })
       }

--
Gitblit v1.9.3