From 0b523220931d70aa752c3beaca5ed32ca85511c5 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 28 三月 2024 11:36:05 +0800
Subject: [PATCH] Merge refs/remotes/origin/master into refs/heads/master

---
 packagePersonal/pages/myCollection/index.js |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/packagePersonal/pages/myCollection/index.js b/packagePersonal/pages/myCollection/index.js
index 1a6e3ff..57f3507 100644
--- a/packagePersonal/pages/myCollection/index.js
+++ b/packagePersonal/pages/myCollection/index.js
@@ -7,8 +7,7 @@
   data: {
     active: 0,
     activeName: "FavoriteBookCity",
-    tabList: [
-      {
+    tabList: [{
         label: '鍥句功',
         key: 0,
         linkType: 'FavoriteBookCity',
@@ -48,7 +47,6 @@
   },
 
   tabBookClick(item) {
-    console.log(item, 1)
     let that = this;
     let info = this.data.tabList[item.detail.value]
     that.setData({
@@ -92,6 +90,7 @@
           })
         } else {
           this.setData({
+            list: [],
             skeletonLoding: false,
             loading: false
           })
@@ -167,7 +166,7 @@
                 icon: 'success',
                 duration: 1000,
               })
-              this.getDataList(false)
+              that.getDataList(false)
             });
         } else if (res.cancel) {
           console.log('鐢ㄦ埛鐐瑰嚮浜嗗彇娑�')
@@ -176,7 +175,9 @@
     })
   },
   goBookDetails(e) {
-    const { book } = e.currentTarget.dataset;
+    const {
+      book
+    } = e.currentTarget.dataset;
     wx.navigateTo({
       url: `/packageBookService/pages/bookServices/detail/index?id=${book.id}&name=${book.name}`,
     });

--
Gitblit v1.9.1