king
2023-05-09 7b0dbecd1d6155d26ec67be0a47a16264c738c85
src/tabviews/custom/components/share/tabtransfer/index.jsx
@@ -174,13 +174,10 @@
    })
  }
  getComponents = () => {
    const { config } = this.props
  getComponents = (components) => {
    const { mainSearch, data } = this.state
    if (!config || !config.components || config.components.length === 0) return (<Empty description={false} />)
    return config.components.map(item => {
    return components.map(item => {
      let style = null
      if (item.style && item.style.clear === 'left') {
@@ -355,8 +352,12 @@
  }
  render() {
    const { config } = this.props
    if (!config || !config.components || config.components.length === 0) return (<Empty description={false} />)
    return (
      <Row className="component-wrap" gutter={8}>{this.getComponents()}</Row>
      <Row className="component-wrap" id={'anchor' + config.uuid} gutter={8}>{this.getComponents(config.components)}</Row>
    )
  }
}