Authored by ccbikai(👎🏻🍜)

数据校验

@@ -35,8 +35,8 @@ const _processBrandNames = (list) => { @@ -35,8 +35,8 @@ const _processBrandNames = (list) => {
35 _.forEach(list, (item) => { 35 _.forEach(list, (item) => {
36 _.forEach(item, (obj) => { 36 _.forEach(item, (obj) => {
37 formatData.push({ 37 formatData.push({
38 - brandDomain: obj.brandDomain.toLowerCase(),  
39 - brandName: obj.brandName.toLowerCase() 38 + brandDomain: obj.brandDomain && obj.brandDomain.toLowerCase(),
  39 + brandName: obj.brandDomain && obj.brandName.toLowerCase()
40 }); 40 });
41 }); 41 });
42 }); 42 });