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
毕凯
2018-01-04 14:56:28 +0800
Commit
33a8592c0d15e3dd607ccc154954a0bc81e79809
2 parents
5d7ecb76
f1fdfa26
Merge branch 'hotfix/error' into 'release/6.4'
'修复频道页undifined' See merge request
!1196
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
apps/channel/models/channel.js
apps/guang/models/brand-list.js
apps/channel/models/channel.js
View file @
33a8592
...
...
@@ -89,7 +89,7 @@ module.exports = class extends global.yoho.BaseModel {
list
=
list
||
[];
_
.
forEach
(
list
,
(
item
,
i
)
=>
{
if
(
item
.
sub
)
{
if
(
_
.
isArray
(
item
.
sub
)
)
{
item
.
sub
.
unshift
({
sort_name
:
item
.
sort_name
,
sort_name_en
:
item
.
sort_name_en
,
...
...
apps/guang/models/brand-list.js
View file @
33a8592
...
...
@@ -153,7 +153,7 @@ module.exports = class extends global.yoho.BaseModel {
return
this
.
get
({
data
:
{
method
:
'app.brand.newBrandList'
,
yh_channel
:
yhChannel
[
channel
].
channel
,
yh_channel
:
_
.
get
(
yhChannel
,
`
$
{
channel
}.
channel
`
,
'1'
)
,
app_type
:
1
},
params
:
{
...
...
Please
register
or
login
to post a comment