Commit a224b286423d5f8a8c98335c7d8c67743fe78bb1
Merge branch 'release/customer/2025/五彩' of http://git.xlyprint.cn/qiangmj/ebc-Me…
…s into release/customer/2025/五彩
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/Common/CommonTable/index.js
| @@ -4862,7 +4862,7 @@ class CommonTableRc extends React.Component { | @@ -4862,7 +4862,7 @@ class CommonTableRc extends React.Component { | ||
| 4862 | 4862 | ||
| 4863 | const { [this.rowKey]: rowKeyId } = record; | 4863 | const { [this.rowKey]: rowKeyId } = record; |
| 4864 | const { selectedRowKeys = [] } = props; | 4864 | const { selectedRowKeys = [] } = props; |
| 4865 | - if (sControlName.includes('BtnTableCopyTo.ActProduceReport')) { | 4865 | + if (sControlName?.includes('BtnTableCopyTo.ActProduceReport')) { |
| 4866 | const copyToConfig = props?.config?.gdsconfigformslave.filter(x=>x.sControlName.includes('BtnTableCopyTo.ActProduceReport')) | 4866 | const copyToConfig = props?.config?.gdsconfigformslave.filter(x=>x.sControlName.includes('BtnTableCopyTo.ActProduceReport')) |
| 4867 | props.onCopyTo(props.name, config.sActiveId, config, copyToConfig, record) | 4867 | props.onCopyTo(props.name, config.sActiveId, config, copyToConfig, record) |
| 4868 | return | 4868 | return |