Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
yyq
7 years ago
Commit
3124a50322df10d99f349bc79ef2f2a69ae74736
2 parents
f17c391d
d3984657
Merge branch 'feature/seo1113' of git.yoho.cn:fe/yohobuy-node into feature/seo1113
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
apps/product/models/list-handler.js
apps/product/models/list-handler.js
View file @
3124a50
...
...
@@ -331,6 +331,10 @@ class FilterTools {
handleFilterBrand
()
{
// 组装brand筛选数据
let
{
baseUrl
,
origin
,
params
}
=
this
;
const
filter
=
_
.
get
(
origin
,
'filter'
,
{});
if
(
!
filter
.
brand
.
length
)
{
return
false
;
}
const
brands
=
[];
const
href
=
handleFilterUrl
(
baseUrl
,
params
,
{
brand
:
'${brand}'
});
const
brandids
=
_
.
split
(
params
.
brand
,
','
);
...
...
Please
register
or
login
to post a comment