Authored by ccbikai(👎🏻🍜)

数据校验

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