Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
毕凯
2017-03-28 16:50:50 +0800
Commit
264d8150c764a2e28e2d2b2c9932caa530626044
2 parents
e56bdcac
c5aff23b
Merge branch 'feature/errorAmend' into 'release/5.5.1'
报错修改 See merge request
!431
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
apps/channel/models/cate.js
public/js/product/search/list.js
apps/channel/models/cate.js
View file @
264d815
...
...
@@ -71,7 +71,8 @@ let getCateData = (channel) => {
},
{
cache
:
true
}).
then
((
result
)
=>
{
if
(
!
result
.
code
||
result
.
code
!==
200
||
!
result
.
data
)
{
if
(
!
result
||
!
result
.
code
||
result
.
code
!==
200
||
!
result
.
data
)
{
return
[];
}
...
...
public/js/product/search/list.js
View file @
264d815
...
...
@@ -862,6 +862,10 @@ if ($brandHeader.data('isbaseshop') === true) {
url
:
location
.
protocol
+
'//m.yohobuy.com/product/search/filter'
,
data
:
defaultOpt
,
success
:
function
(
data
)
{
if
(
data
===
''
)
{
return
false
;
}
$goodsContainer
.
append
(
data
);
// 初始化filter&注册filter回调
...
...
Please
register
or
login
to post a comment