Authored by htoooth

id 代码的修正

@@ -37,7 +37,7 @@ const _getProductAdditionInfoAsync = (data) => { @@ -37,7 +37,7 @@ const _getProductAdditionInfoAsync = (data) => {
37 let productId = data.id || 0; 37 let productId = data.id || 0;
38 let uid = data.uid ? data.uid : 0; 38 let uid = data.uid ? data.uid : 0;
39 let skn = data.erpProductId; 39 let skn = data.erpProductId;
40 - let brandId = data.brand.id ? data.brand.id : 0; 40 + let brandId = data.brand && data.brand.id ? data.brand.id : 0;
41 let index = 0; 41 let index = 0;
42 42
43 // 获取相关数据 43 // 获取相关数据