From ccf200b60ad213343a13d36c17c5ee5ac5cd7b7a Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期三, 27 三月 2024 20:19:45 +0800
Subject: [PATCH] 样书等

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

diff --git a/packagePersonal/pages/myCollection/index.js b/packagePersonal/pages/myCollection/index.js
index fb1a765..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
           })
@@ -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