Fix bug on new arrival.
Showing
1 changed file
with
4 additions
and
1 deletions
@@ -304,12 +304,15 @@ class NewArrivalContainer extends Component { | @@ -304,12 +304,15 @@ class NewArrivalContainer extends Component { | ||
304 | shop_name, | 304 | shop_name, |
305 | shops_id, | 305 | shops_id, |
306 | brand_id, | 306 | brand_id, |
307 | + shop_template_type, | ||
307 | } = data.toJS(); | 308 | } = data.toJS(); |
308 | 309 | ||
309 | if (!shops_id||!shop_name) { | 310 | if (!shops_id||!shop_name) { |
310 | return; | 311 | return; |
311 | } | 312 | } |
312 | - let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.shop","params":{"shop_id":"${shops_id}","shop_template_type":"1","shop_name":"${shop_name}"}}`; | 313 | + console.log('aaaaaaaaa'); |
314 | + console.log(data.toJS()); | ||
315 | + let url = `http://m.yohobuy.com?openby:yohobuy={"action":"go.shop","params":{"shop_id":"${shops_id}","shop_template_type":"${shop_template_type}","shop_name":"${shop_name}"}}`; | ||
313 | ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url); | 316 | ReactNative.NativeModules.YH_CommonHelper.jumpWithUrl(url); |
314 | 317 | ||
315 | let I_INDEX = parseInt(index) + 1; | 318 | let I_INDEX = parseInt(index) + 1; |
-
Please register or login to post a comment