Commit f7c3a17686c3536222467efa07fa1cdf2bc9e4a0

Authored by 陈鑫涛
1 parent edd37f0b

开工按钮不能按的问题

src/components/Common/CommonTable/index.js
... ... @@ -4862,7 +4862,7 @@ class CommonTableRc extends React.Component {
4862 4862  
4863 4863 const { [this.rowKey]: rowKeyId } = record;
4864 4864 const { selectedRowKeys = [] } = props;
4865   - if (sControlName.includes('BtnTableCopyTo.ActProduceReport')) {
  4865 + if (sControlName?.includes('BtnTableCopyTo.ActProduceReport')) {
4866 4866 const copyToConfig = props?.config?.gdsconfigformslave.filter(x=>x.sControlName.includes('BtnTableCopyTo.ActProduceReport'))
4867 4867 props.onCopyTo(props.name, config.sActiveId, config, copyToConfig, record)
4868 4868 return
... ...