From f72f8966ba4e1715e8df82d5cf1c7e912b6da719 Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期一, 01 四月 2024 10:21:07 +0800
Subject: [PATCH] 检索的bug

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

diff --git a/packagePersonal/pages/sampleBooks/index.js b/packagePersonal/pages/sampleBooks/index.js
index 984fa38..317096f 100644
--- a/packagePersonal/pages/sampleBooks/index.js
+++ b/packagePersonal/pages/sampleBooks/index.js
@@ -46,6 +46,22 @@
    */
   onLoad(options) {
     console.log(options);
+    if (options) {
+      this.setData({
+        active: options.tabActive,
+        active1: options.stateTab
+      })
+      if (this.data.active == '1') {
+        this.setData({
+          topicIdOrRefCode: 'applyBook',
+        })
+      } else {
+        this.setData({
+          topicIdOrRefCode: 'applyEntityBook',
+        })
+      }
+    }
+    console
     this.getDataList(false);
   },
   tabClick(item) {

--
Gitblit v1.9.1