src/tabviews/custom/components/chart/antv-dashboard/index.jsx
@@ -234,7 +234,7 @@ const { config } = this.state if (!config.setting.supModule || config.setting.supModule !== MenuID) return if (id !== this.state.BID) { if (id !== this.state.BID || id !== '') { this.setState({ BID: id }, () => { this.loadData() }) @@ -289,11 +289,17 @@ data.value = result.data[0][config.plot.valueField] } } let reset = true if (hastimer && is(fromJS(data), fromJS(this.state.data))) { reset = false } this.setState({ data, loading: false }, () => { if (!reset) return this.handleData() }) } else {