Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
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
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
9 years ago
Commit
f2c0a0a8000d3657798b14047c2a4ed55ae41a69
1 parent
710d14ec
'cate跳转'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
apps/channel/models/brand.js
apps/channel/models/brand.js
View file @
f2c0a0a
...
...
@@ -101,11 +101,11 @@ const getCateListData = params => {
sub
:
[]
};
if
(
_
.
isEmpty
(
cate
.
sub
))
{
item
.
url
=
helpers
.
urlFormat
(
'/'
,
{
item
.
url
=
helpers
.
urlFormat
(
'/
product/search
'
,
{
sort
:
item
.
sort
,
sort_name
:
item
.
name
,
gender
:
genderArr
[
categorykey
]
}
,
'list'
);
});
oneClass
.
ca
.
push
(
item
);
return
true
;
// equal continue;
}
...
...
@@ -115,11 +115,11 @@ const getCateListData = params => {
id
:
item
.
id
,
name
:
'全部'
+
item
.
name
,
sort
:
item
.
sort
,
url
:
helpers
.
urlFormat
(
'/'
,
{
url
:
helpers
.
urlFormat
(
'/
product/search
'
,
{
sort
:
item
.
sort
,
sort_name
:
item
.
name
,
gender
:
genderArr
[
categorykey
]
}
,
'list'
),
}),
sub
:
[]
});
...
...
@@ -130,11 +130,11 @@ const getCateListData = params => {
sort
:
sub
.
relation_parameter
.
sort
,
url
:
''
};
subitem
.
url
=
helpers
.
urlFormat
(
'/'
,
{
subitem
.
url
=
helpers
.
urlFormat
(
'/
product/search
'
,
{
sort
:
subitem
.
sort
,
sort_name
:
subitem
.
name
,
gender
:
genderArr
[
categorykey
]
}
,
'list'
);
});
item
.
sub
.
push
(
subitem
);
});
...
...
Please
register
or
login
to post a comment