From feead902a64345472895b9d4d9a335574ab728ad Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期三, 27 三月 2024 09:43:36 +0800
Subject: [PATCH] 书展bug

---
 pages/bibliographyList/index.js |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/pages/bibliographyList/index.js b/pages/bibliographyList/index.js
index 53945fb..2ec369e 100644
--- a/pages/bibliographyList/index.js
+++ b/pages/bibliographyList/index.js
@@ -18,7 +18,8 @@
       BarHeight: '',
       navBarHeight: '',
       start: 1,
-      tabValue: ''
+      tabValue: '',
+      keyword: ''
     },
 
     /**
@@ -126,6 +127,7 @@
 
     //楂樼瓑鏁欒偛
     higherGet(keyword) {
+      console.log(keyword, 'keyword');
       let searchObj = {
         'Name*': keyword,
         '||author*': keyword,
@@ -288,6 +290,7 @@
       this.higherGet(keyword)
       this.vocationalGet(keyword)
       this.teacherGet(keyword)
+
     },
 
 
@@ -360,15 +363,21 @@
 
 
     },
+
     onPullDownRefresh() {
 
 
+      let keyword = this.data.value
+
       this.setData({
-        start: 1
+        start: 1,
+        
       })
-      this.vocationalGet()
-      this.higherGet()
-      this.teacherGet()
+
+      this.higherGet(keyword)
+      this.vocationalGet(keyword)
+      this.teacherGet(keyword)
+
 
     },
 

--
Gitblit v1.9.1