king
2023-06-15 a29d9d644a2a30e9ef4afcc6d728c20c218dc359
src/tabviews/custom/components/chart/custom-chart/index.jsx
@@ -267,7 +267,7 @@
    let result = await Api.genericInterface(param)
    if (result.status) {
      if (config.$cache) {
      if (config.$cache && config.setting.onload !== 'false') {
        Api.writeCacheConfig(config.uuid, result.data || '')
      }
@@ -280,6 +280,13 @@
        this.data = result.data || []
        this.handleData()
      }
      if (config.timer && config.clearField && result.data && result.data[0]) {
        let vals = (config.clearValue || '').split(',')
        if (vals.includes(result.data[0][config.clearField])) {
          this.timer && this.timer.stop()
        }
      }
    } else {
      this.setState({
        loading: false