Commit f6c45ea416937e002e448f5a56c1d9b5961fe791

Authored by Min
1 parent e392be59

1.处理生产排程展开报错

src/components/Common/CommonTable/index.js
... ... @@ -4215,7 +4215,7 @@ class CommonTableRc extends React.Component {
4215 4215 const { sumGroup = {} } = this.state;
4216 4216 const sumList = sumGroup[sName] || [];
4217 4217 const record = data[index];
4218   - return sumList.includes(record[this.rowKey]) ? " tableSumColor" : "";
  4218 + return sumList.includes(record?.[this.rowKey]) ? " tableSumColor" : "";
4219 4219 }
4220 4220  
4221 4221 /* 点击图片预览 */
... ...