Authored by yyq

处理属性取不到问题

... ... @@ -729,9 +729,9 @@ const setSizeData = (sizeInfo) => {
// 判断是否显示参考尺码
if (boyReference && (gender === 1 || gender === 3) && showReference) {
sizes.push(value.boyReferSize.referenceName || ' ');
sizes.push(_.get(value, 'boyReferSize.referenceName', ' '));
} else if (girlReference && (gender === 2 || gender === 3) && showReference) {
sizes.push(value.girlReferSize.referenceName || ' ');
sizes.push(_.get(value, 'girlReferSize.referenceName', ' '));
} else {
if (sizeTable.thead[1] && showReference) {
sizeTable.thead[1] = {};
... ...