Authored by huangyCode

修改倒计时显示

... ... @@ -145,7 +145,7 @@ export default class ProductDetail extends Component {
let data = res.data || {};
let image_list = data.image_list;
let goodsList = { image_list }
let imageSize = image_list.length;
let imageSize = image_list.length;
let default_image = imageSize > 0 ? image_list[0] : '';
let productInfo = data;
let seriesObj = {
... ... @@ -294,6 +294,9 @@ export default class ProductDetail extends Component {
}
getFavoriteState(id) {
if(!id){
return;
}
productDetailModel.getFavoriteState(id).then(ret => {
if (ret && ret.code === 200) {
this.setState({
... ...