src/menu/components/share/pastecomponent/index.jsx
@@ -168,6 +168,9 @@ } else if (type === 'cols') { config.cols = config.cols.filter(col => !col.origin) if (config.subtype === 'normaltable' && res.cols.length === 1) { config.cols.push(...res.cols) } else { let keys = config.cols.map(col => (col.field || '$empty')) let cols = [] @@ -188,6 +191,7 @@ config.cols.push(...cols) } } } this.props.updateConfig(config, type) this.setState({visible: false})