Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
852d1cf7
Commit
852d1cf7
authored
Apr 01, 2018
by
Junling Bu
Browse files
fix[litemall-wx]:如果用户没有输入关键字时,则不搜索。
parent
bf84c2c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx/pages/search/search.js
View file @
852d1cf7
...
...
@@ -107,6 +107,9 @@ Page({
},
getSearchResult
(
keyword
)
{
if
(
keyword
===
''
){
return
}
this
.
setData
({
keyword
:
keyword
,
page
:
1
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment