Authored by htoooth

代码健壮性。

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