king
2023-08-23 547e5fe219ee7bee309ecd67db74bc8df66b5433
src/tabviews/custom/components/chart/antv-pie/index.jsx
@@ -90,7 +90,6 @@
    this.setState({
      config: _config,
      BID: BID || '',
      arr_field: _config.columns.map(col => col.field).join(','),
      plot: _config.plot,
      title: config.plot.title,
      search: _config.$searches
@@ -260,7 +259,7 @@
  }
  async loadData (type) {
    const { config, arr_field, search, BID } = this.state
    const { config, search, BID } = this.state
    if (config.setting.supModule && !BID) { // BID 不存在时,不做查询
      if (!is(fromJS(this.data), fromJS([]))) {
@@ -293,7 +292,7 @@
    }
    let _orderBy = config.setting.order || ''
    let param = UtilsDM.getQueryDataParams(config.setting, arr_field, searches, _orderBy, '', '', BID)
    let param = UtilsDM.getQueryDataParams(config.setting, searches, _orderBy, '', '', BID)
    let result = await Api.genericInterface(param)
    if (result.status) {