Authored by QC-L

修复商品详情页展示内容不正确的问题 review by 黄敬囿

... ... @@ -164,7 +164,13 @@ export default class ProductDetail extends Component {
product_qrCode,
product_skn: productInfo.product_id
}
let seriesObj = {
text: '系列',
value: productInfo.series_name
}
seriesObj = productInfo.series_name ? [seriesObj]: []
this.setState({
productInfo: productInfo,
imageSize: imageSize,
... ... @@ -178,10 +184,9 @@ export default class ProductDetail extends Component {
}, {
text: '品牌',
value: productInfo.brand_name
}, {
text: '系列',
value: productInfo.series_name
}, {
},
...seriesObj
, {
text: '发售时间',
value: productInfo.sale_time
}, {
... ...