xjc 4 jaren geleden
bovenliggende
commit
a96dfd7068
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      pages/searchList/searchList.js

+ 2 - 2
pages/searchList/searchList.js

@@ -23,7 +23,7 @@ Page({
       type: options.type ? options.type:'',
       act: options.act
     })
-    if (options.keyword ){
+    if (options.keyword||true ){
       this.getData()
     }
     
@@ -35,7 +35,7 @@ Page({
       method: 'GET',
       data: {
         keyword: this.data.keyword,
-        // type: this.data.type
+        type: this.data.type
       },
       success: res => {
         wx.hideNavigationBarLoading();