Commit 852d1cf7 authored by Junling Bu's avatar Junling Bu
Browse files

fix[litemall-wx]:如果用户没有输入关键字时,则不搜索。

parent bf84c2c1
......@@ -107,6 +107,9 @@ Page({
},
getSearchResult(keyword) {
if(keyword === ''){
return
}
this.setData({
keyword: keyword,
page: 1,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment