@opentiny/vue-runtime 3.16.0 → 3.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -88076,7 +88076,7 @@ const An = {
88076
88076
  Object.keys(this.options).length === 0 ? this.updateChart(n) : this.option = JSON.parse(JSON.stringify(this.options));
88077
88077
  var r = this.option;
88078
88078
  clearTimeout(this.timer), this.timer = null, this.timer = setTimeout(function() {
88079
- e.afterConfig && (r = e.afterConfig(r)), e.selfSetting(r), e.setAnimation(r), e.applyMarks(e.integrateChart.eChartOption), e.integrateChart.refresh(r), r.extend = e.applyExtend(e.integrateChart.eChartOption), e.colorMode !== "default" && (r.color = e.computedChartColor()), e.integrateChart.refresh(r), e.$emit("handle-color", r.color), e.afterSetOption && e.afterSetOption(e.integrateChart.echartsIns), e.$emit("ready", e.integrateChart.echartsIns, r);
88079
+ e.afterConfig && (r = e.afterConfig(r)), e.selfSetting(r), e.setAnimation(r), e.applyMarks(e.integrateChart.eChartOption), e.integrateChart.refresh(r), e.colorMode !== "default" && (r.color = e.computedChartColor()), e.extend && Object.keys(e.extend).length !== 0 && (r.extend = e.applyExtend(e.integrateChart.eChartOption), e.integrateChart.refresh(r)), e.$emit("handle-color", r.color), e.afterSetOption && e.afterSetOption(e.integrateChart.echartsIns), e.$emit("ready", e.integrateChart.echartsIns, r);
88080
88080
  }, this.changeDelay);
88081
88081
  },
88082
88082
  renderChart: function(e) {
@@ -88086,9 +88086,9 @@ const An = {
88086
88086
  else {
88087
88087
  this.selfSetting(e), this.setAnimation(e);
88088
88088
  var r = this.themeName || this.theme || ket;
88089
- this.integrateChart.init(this.$refs.chartRef, r, this.initOpts), this.colorMode !== "default" && (e.color = this.computedChartColor()), this.integrateChart.setSimpleOption(this.iChartName, e, n), this.$emit("handle-color", e.color), this.applyMarks(this.integrateChart.eChartOption), e.extend = this.applyExtend(this.integrateChart.eChartOption), this.integrateChart.render(this.renderOption);
88089
+ this.integrateChart.init(this.$refs.chartRef, r, this.initOpts), this.colorMode !== "default" && (e.color = this.computedChartColor()), this.integrateChart.setSimpleOption(this.iChartName, e, n), this.$emit("handle-color", e.color), this.applyMarks(this.integrateChart.eChartOption);
88090
88090
  }
88091
- this.$emit("ready", this.integrateChart.echartsIns), this.once["ready-once"] || (this.once["ready-once"] = !0, this.$emit("ready", this.integrateChart.echartsIns));
88091
+ this.extend && Object.keys(this.extend).length !== 0 && (e.extend = this.applyExtend(this.integrateChart.eChartOption), this.integrateChart.setSimpleOption(this.iChartName, e, n)), this.integrateChart.render(this.renderOption), this.$emit("ready", this.integrateChart.echartsIns), this.once["ready-once"] || (this.once["ready-once"] = !0, this.$emit("ready", this.integrateChart.echartsIns));
88092
88092
  },
88093
88093
  addEvents: function(e) {
88094
88094
  var n = this;