diff --git a/src/components/Common/CommonTable/index.js b/src/components/Common/CommonTable/index.js index a4bd21f..9d9b894 100644 --- a/src/components/Common/CommonTable/index.js +++ b/src/components/Common/CommonTable/index.js @@ -4862,7 +4862,7 @@ class CommonTableRc extends React.Component { const { [this.rowKey]: rowKeyId } = record; const { selectedRowKeys = [] } = props; - if (sControlName.includes('BtnTableCopyTo.ActProduceReport')) { + if (sControlName?.includes('BtnTableCopyTo.ActProduceReport')) { const copyToConfig = props?.config?.gdsconfigformslave.filter(x=>x.sControlName.includes('BtnTableCopyTo.ActProduceReport')) props.onCopyTo(props.name, config.sActiveId, config, copyToConfig, record) return