From 4bc1c36faeec2f90e5acfa836732e49fe0b245e9 Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期五, 12 四月 2024 20:47:03 +0800
Subject: [PATCH] 云学习11

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

diff --git a/packagePersonal/pages/myOrder/index.js b/packagePersonal/pages/myOrder/index.js
index a0dd2bd..33478e0 100644
--- a/packagePersonal/pages/myOrder/index.js
+++ b/packagePersonal/pages/myOrder/index.js
@@ -80,7 +80,6 @@
 
   getDataList(isReachBottom) {
     var searchArr = [];
-    console.log(this.data.searchText, "earch")
     if (this.data.searchText != undefined && this.data.searchText != "") {
       searchArr.push({
         compareType: "Contains",
@@ -157,7 +156,6 @@
           })
         } else {
           this.setData({
-            list: [],
             skeletonLoding: false,
             loading: false
           })
@@ -185,7 +183,7 @@
         'saleMethodId': book.orderSaleMethod.id
       })
       bookId = parentData.parentProduct[parentData.parentProduct.length - 1].id;
-    } else if (remarks != null && JSON.stringify(remarks).slice(1, -1) == 'object' && JSON.parse(remarks).pId) {
+    } else if (remarks != null && JSON.parse(remarks).pId) {
       bookId = JSON.parse(remarks).pId
     }
     wx.navigateTo({

--
Gitblit v1.9.1