From c96612e8a63ecef9590be0f8b5199277ec94e5b9 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期三, 18 九月 2024 18:43:12 +0800
Subject: [PATCH] 云学习购买目录,修改bug

---
 packagePersonal/pages/sampleBooks/index.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/packagePersonal/pages/sampleBooks/index.js b/packagePersonal/pages/sampleBooks/index.js
index ede0a53..08b89f3 100644
--- a/packagePersonal/pages/sampleBooks/index.js
+++ b/packagePersonal/pages/sampleBooks/index.js
@@ -117,6 +117,7 @@
         field: 'CreateDate'
       }
     }).then((res) => {
+      console.log(res.datas);
       try {
         if (res.datas.length > 0) {
           res.datas.forEach((item) => {
@@ -143,8 +144,6 @@
           })
         } else {
           this.setData({
-            list: [],
-            pageTotalCount: 0,
             skeletonLoding: false,
             loading: false
           })

--
Gitblit v1.9.1