Authored by htoooth

代码健壮性。

... ... @@ -857,7 +857,7 @@ const _getBasicDescription = (productDescBo) => {
const _getDescriptionDataBySizeInfo = (sizeInfo) => {
let description = {};
if (!sizeInfo.productDescBo.erpProductId) {
if (!sizeInfo.productDescBo || !sizeInfo.productDescBo.erpProductId) {
return description;
}
... ...