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
shixiang
2016-11-21 11:50:08 +0800
Commit
634efc93b6b20b6cc84196d0106fcde73cf12c0d
1 parent
6c740bd3
修改选中品类刷新错误的问题
review 于良
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
js/classify/containers/CategoryContainer.js
js/classify/reducers/category/categoryActions.js
js/classify/reducers/category/categoryReducer.js
js/classify/containers/CategoryContainer.js
View file @
634efc9
...
...
@@ -79,7 +79,7 @@ class CategoryContainer extends Component {
currentChannelId
,
currentCateId
,
}
=
this
.
props
.
category
;
return
(
<
View
style
=
{
styles
.
container
}
>
<
Category
...
...
js/classify/reducers/category/categoryActions.js
View file @
634efc9
...
...
@@ -68,7 +68,7 @@ export function setCurrentChannelId(channelID){
export
function
jumpToCategory
(
value
){
ReactNative
.
NativeModules
.
YH_CommonHelper
.
jumpToCategory
(
value
);
return
{
type
:
SET_CURRENT_CHANNEL_ID
,
type
:
JUMP_TO_CATEGORY
,
payload
:
value
}
}
...
...
js/classify/reducers/category/categoryReducer.js
View file @
634efc9
...
...
@@ -39,9 +39,6 @@ export default function categoryReducer(state=initialState, action) {
case
SET_CURRENT_CHANNEL_ID
:
{
return
state
.
set
(
'currentChannelId'
,
Immutable
.
fromJS
(
action
.
payload
));
}
case
JUMP_TO_CATEGORY
:
{
}
}
return
state
;
...
...
Please
register
or
login
to post a comment