king
2022-11-14 5ec0f02101cb4255c6398856bbf17a2a0b2c9a7e
src/tabviews/custom/components/chart/custom-chart/index.jsx
@@ -58,7 +58,8 @@
      _sync = false
    }
    _config.style.height = config.plot.height || 400
    _config.plot.height = Utils.getHeight(_config.plot.height)
    _config.style.height = 'auto'
    this.setState({
      config: _config,
@@ -347,7 +348,9 @@
          </div> : null
        }
        <NormalHeader config={config} BID={BID} refresh={this.refreshSearch} />
        <div className={'canvas' + (empty ? ' empty' : '')} ref={ref => this.wrap = ref}></div>
        <div className="canvas-wrap" style={{height: (config.plot.height + 30) + 'px'}}>
          <div className={'canvas' + (empty ? ' empty' : '')} style={{height: config.plot.height + 'px'}} ref={ref => this.wrap = ref}></div>
        </div>
        {empty ? <Empty description={false}/> : null}
      </div>
    )