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
2f43d4993a563034f25714caba41e98c690697d5
1 parent
f2c0a0a8
'cate-product'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
apps/channel/models/brand.js
apps/channel/models/brand.js
View file @
2f43d49
...
...
@@ -101,7 +101,7 @@ const getCateListData = params => {
sub
:
[]
};
if
(
_
.
isEmpty
(
cate
.
sub
))
{
item
.
url
=
helpers
.
urlFormat
(
'/product/
search
'
,
{
item
.
url
=
helpers
.
urlFormat
(
'/product/
list
'
,
{
sort
:
item
.
sort
,
sort_name
:
item
.
name
,
gender
:
genderArr
[
categorykey
]
...
...
@@ -115,7 +115,7 @@ const getCateListData = params => {
id
:
item
.
id
,
name
:
'全部'
+
item
.
name
,
sort
:
item
.
sort
,
url
:
helpers
.
urlFormat
(
'/product/
search
'
,
{
url
:
helpers
.
urlFormat
(
'/product/
list
'
,
{
sort
:
item
.
sort
,
sort_name
:
item
.
name
,
gender
:
genderArr
[
categorykey
]
...
...
@@ -130,7 +130,7 @@ const getCateListData = params => {
sort
:
sub
.
relation_parameter
.
sort
,
url
:
''
};
subitem
.
url
=
helpers
.
urlFormat
(
'/product/
search
'
,
{
subitem
.
url
=
helpers
.
urlFormat
(
'/product/
list
'
,
{
sort
:
subitem
.
sort
,
sort_name
:
subitem
.
name
,
gender
:
genderArr
[
categorykey
]
...
...
Please
register
or
login
to post a comment