king
2023-12-18 dbf2f8a85f8218e9e570aa1d91bf4f17ac120353
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})