From f7c3a17686c3536222467efa07fa1cdf2bc9e4a0 Mon Sep 17 00:00:00 2001 From: 陈鑫涛 <10125295+chen-xintao97@user.noreply.gitee.com> Date: Tue, 23 Dec 2025 21:52:50 +0800 Subject: [PATCH] 开工按钮不能按的问题 --- src/components/Common/CommonTable/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- libgit2 0.22.2