Authored by 孙凯

修改 粉丝数为空的时候 显示0 review by hongmo

... ... @@ -115,7 +115,7 @@ export default class Header extends React.Component {
}
let brandName = data.is_show_shop_name?data.shop_name:'';
let num = data.favoriteCount;
let num = data.favoriteCount?data.favoriteCount:0;
let numberOfFav = '粉丝: '+ num;
let backgroundImage = data.shopBanner?data.shopBanner.module_data.data[0].pic:'null';
let brandIcon = getSlicedUrl(data.shop_logo, 60, 60, 2);
... ...