fix[litemall-wx]:如果用户没有输入关键字时,则不搜索。
This commit is contained in:
@@ -107,6 +107,9 @@ Page({
|
||||
|
||||
},
|
||||
getSearchResult(keyword) {
|
||||
if(keyword === ''){
|
||||
return
|
||||
}
|
||||
this.setData({
|
||||
keyword: keyword,
|
||||
page: 1,
|
||||
|
||||
Reference in New Issue
Block a user