Authored by shixiang

修改选中品类刷新错误的问题

review 于良
... ... @@ -79,7 +79,7 @@ class CategoryContainer extends Component {
currentChannelId,
currentCateId,
} = this.props.category;
return (
<View style={styles.container}>
<Category
... ...
... ... @@ -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
}
}
... ...
... ... @@ -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;
... ...