src/menu/components/share/pastecomponent/index.jsx
@@ -114,6 +114,10 @@ return } if (res.copyType === 'editcols') { res.copyType = 'cols' } let type = res.copyType let config = fromJS(this.props.config).toJS() @@ -168,7 +172,7 @@ } else if (type === 'cols') { config.cols = config.cols.filter(col => !col.origin) if (config.subtype === 'normaltable' && res.cols.length === 1) { if ((config.subtype === 'normaltable' || config.subtype === 'editable') && res.cols.length === 1) { config.cols.push(...res.cols) } else { let keys = config.cols.map(col => (col.field || '$empty'))