Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
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
chenl
8 years ago
Commit
10651e44be5dcaa20abbbe5d96e30b4d07a5fd6f
1 parent
c3813e13
调整了获取不到category时不调用getCategoryBSubCategoryDetail方法。review by 于良。
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
js/classify/reducers/categoryB/categoryBActions.js
js/classify/reducers/categoryB/categoryBActions.js
View file @
10651e4
...
...
@@ -202,9 +202,9 @@ export function getCategoryBFirstSubCategoryDetail(channel_id) {
category
=
categoryList
.
get
(
'lifestyle'
).
get
(
0
);
}
let
category_id
=
category
?
category
.
get
(
'category_id'
)
:
""
;
let
category_name
=
category
?
category
.
get
(
'category_name'
)
:
""
;
dispatch
(
getCategoryBSubCategoryDetail
(
category_id
,
category_name
));
if
(
category
){
dispatch
(
getCategoryBSubCategoryDetail
(
category
.
get
(
'category_id'
),
category
.
get
(
'category_name'
)));
}
};
}
...
...
Please
register
or
login
to post a comment