From 75a9abca4f4cf0ebe579705abc369489cfe20e7c Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期五, 28 六月 2024 11:16:37 +0800
Subject: [PATCH] 小程序,课程

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

diff --git a/packagePersonal/pages/myCollection/index.js b/packagePersonal/pages/myCollection/index.js
index 211f2f0..d47e1ac 100644
--- a/packagePersonal/pages/myCollection/index.js
+++ b/packagePersonal/pages/myCollection/index.js
@@ -16,6 +16,11 @@
         label: '璇剧▼',
         key: 1,
         linkType: 'Favoriteclass',
+      },
+      {
+        label: '鏁板瓧鏁欐潗',
+        key: 2,
+        linkType: 'FavoriteTextBooks',
       }
     ],
     list: [],
@@ -35,10 +40,11 @@
    * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇
    */
   onLoad(options) {
-    console.log(options);
+    // this.getDataList(false);
+  },
+  onShow() {
     this.getDataList(false);
   },
-
   /**
    * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍒濇娓叉煋瀹屾垚
    */
@@ -90,6 +96,7 @@
           })
         } else {
           this.setData({
+            list: [],
             skeletonLoding: false,
             loading: false
           })

--
Gitblit v1.9.1