Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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 |
-
Please register or login to post a comment