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
1e34cdf1
Commit
1e34cdf1
authored
Aug 15, 2018
by
Junling Bu
Browse files
fix[litemall-wx]: 如果关键字是空,则不查询后台类似关键字
parent
149c7d20
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx/pages/search/search.js
View file @
1e34cdf1
...
...
@@ -49,12 +49,14 @@ Page({
},
inputChange
:
function
(
e
)
{
this
.
setData
({
keyword
:
e
.
detail
.
value
,
searchStatus
:
false
});
this
.
getHelpKeyword
();
if
(
e
.
detail
.
value
)
{
this
.
getHelpKeyword
();
}
},
getHelpKeyword
:
function
()
{
let
that
=
this
;
...
...
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