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
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
8 years ago
Commit
6d9df60efd9361a2d1b39f2f8f32d97e18841b21
1 parent
bc7355aa
'nav-guang-bgcolor'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
apps/channel/models/channel.js
apps/channel/models/channel.js
View file @
6d9df60
...
...
@@ -239,8 +239,9 @@ let getChannelSwitchData = () => {
*/
let
getChannelData
=
(
params
)
=>
{
var
channelData
=
{};
let
navGender
=
_
.
cloneDeep
(
params
.
gender
);
return
Promise
.
all
([
_getChannelResource
(
params
),
_getLeftNav
(
params
.
g
ender
)]).
then
((
data
)
=>
{
return
Promise
.
all
([
_getChannelResource
(
params
),
_getLeftNav
(
navG
ender
)]).
then
((
data
)
=>
{
channelData
.
content
=
data
[
0
];
// 资源位数据
channelData
.
sideNav
=
data
[
1
];
// 侧边栏数据
...
...
Please
register
or
login
to post a comment