Authored by huangyCode

去console reviewed by yujianchao

... ... @@ -98,17 +98,16 @@ export default class Home extends Component {
}
case 'categoryList': {
let row = item && item.item && item.item.toJS() || {}
let yh_exposureData = row.yh_exposureData || {}
let row = item && item.item && item.item.toJS() || {};
let yh_exposureData = row.yh_exposureData || {};
yh_exposureData.F_INDEX = item.index;
let productList = this.props.data.productList;
let product = productList && productList.toJS() || {}
let product = productList && productList.toJS() || {};
if(Object.keys(product).length){
yh_exposureData.TAB_ID = product.current_sort_id;
yh_exposureData.TAB_NAME = product.current_sort_name;
}
console.log(yh_exposureData)
return (
<ProductCell
style={[styles.listContainer, customStyle]}
... ...
... ... @@ -252,7 +252,6 @@ export function getProductList(product_pool = 0, skns = 0,msort = 0) {
let page = list.page + 1;
let pageSize = list.page_size;
console.log(pageSize);
let fetchProductList = (uid) => {
dispatch(productListRequest());
return new AppService(app.host).fetchProductList(uid, page, pageSize, msort, product_pool, skns)
... ...