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
eb499e85
Commit
eb499e85
authored
Apr 01, 2018
by
Junling Bu
Browse files
fix[litemall-wx]: 用户没有填写关键字,则采用默认关键字。
parent
b23e6190
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx/pages/search/search.js
View file @
eb499e85
...
@@ -108,7 +108,7 @@ Page({
...
@@ -108,7 +108,7 @@ Page({
},
},
getSearchResult
(
keyword
)
{
getSearchResult
(
keyword
)
{
if
(
keyword
===
''
){
if
(
keyword
===
''
){
return
keyword
=
this
.
data
.
defaultKeyword
.
keyword
;
}
}
this
.
setData
({
this
.
setData
({
keyword
:
keyword
,
keyword
:
keyword
,
...
...
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