Authored by 于良

Merge branch '5.4.1' of http://git.yoho.cn/mobile/YH_RNComponent into 5.4.1

@@ -38,7 +38,6 @@ let templet = new (Record({ @@ -38,7 +38,6 @@ let templet = new (Record({
38 list: List(), 38 list: List(),
39 shop: shop, 39 shop: shop,
40 bottomBanner: bottomBanner, 40 bottomBanner: bottomBanner,
41 - endReached:false,  
42 favorite: favorite, //男, 女,潮童频道 猜你喜欢列表 41 favorite: favorite, //男, 女,潮童频道 猜你喜欢列表
43 content_code: '', 42 content_code: '',
44 endReached: false, 43 endReached: false,
@@ -156,10 +156,10 @@ export default function redBrandReducer(state=initialState, action) { @@ -156,10 +156,10 @@ export default function redBrandReducer(state=initialState, action) {
156 } 156 }
157 case ADD_FAVORITE_SUCCESS: { 157 case ADD_FAVORITE_SUCCESS: {
158 if (action.payload) { 158 if (action.payload) {
159 - return state.setIn(['shopIntro', 'is_addFav'], action.payload) 159 + return state.setIn(['shopIntro', 'is_addFav'], true)
160 .setIn(['shopIntro', 'favoriteCount'],parseInt(state.shopIntro.favoriteCount) +1); 160 .setIn(['shopIntro', 'favoriteCount'],parseInt(state.shopIntro.favoriteCount) +1);
161 }else { 161 }else {
162 - return state.setIn(['shopIntro', 'is_addFav'], action.payload); 162 + return state.setIn(['shopIntro', 'is_addFav'], true);
163 } 163 }
164 } 164 }
165 case ADD_FAVORITE_FAILURE: { 165 case ADD_FAVORITE_FAILURE: {