xjc 4 роки тому
батько
коміт
a96dfd7068
1 змінених файлів з 2 додано та 2 видалено
  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();