From 8a27f5724e10e82cc5a30bf7051397da2e697e63 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期四, 19 十二月 2024 10:49:11 +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