From eb499e85a45332aa06dbf98f707fc4b58f9a4679 Mon Sep 17 00:00:00 2001 From: Junling Bu Date: Sun, 1 Apr 2018 17:14:44 +0800 Subject: [PATCH] =?UTF-8?q?fix[litemall-wx]:=20=E7=94=A8=E6=88=B7=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=A1=AB=E5=86=99=E5=85=B3=E9=94=AE=E5=AD=97=EF=BC=8C?= =?UTF-8?q?=E5=88=99=E9=87=87=E7=94=A8=E9=BB=98=E8=AE=A4=E5=85=B3=E9=94=AE?= =?UTF-8?q?=E5=AD=97=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-wx/pages/search/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litemall-wx/pages/search/search.js b/litemall-wx/pages/search/search.js index 3354ef97..a9ac3000 100644 --- a/litemall-wx/pages/search/search.js +++ b/litemall-wx/pages/search/search.js @@ -108,7 +108,7 @@ Page({ }, getSearchResult(keyword) { if(keyword === ''){ - return + keyword = this.data.defaultKeyword.keyword; } this.setData({ keyword: keyword,