@opentinyvue/vue-huicharts-core 2.26.0 → 2.27.0

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -1268,8 +1268,8 @@ var Core = {
1268
1268
  this.afterSetOptionOnce && this.afterSetOptionOnce(this.integrateChart.echartsIns);
1269
1269
  },
1270
1270
  beforeUnmount: function beforeUnmount() {
1271
+ if (this.integrateChart && this.integrateChart.uninstall) this.integrateChart.uninstall();
1271
1272
  this.integrateChart = null;
1272
- if (this.integrateChart.uninstall) this.integrateChart.uninstall();
1273
1273
  this.watchToPropsEchartOptions.forEach(function(unwatch) {
1274
1274
  unwatch && unwatch();
1275
1275
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-huicharts-core",
3
- "version": "2.26.0",
3
+ "version": "2.27.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -9,8 +9,8 @@
9
9
  "dependencies": {
10
10
  "echarts": "5.4.1",
11
11
  "@opentiny/huicharts": "1.0.1",
12
- "@opentinyvue/vue-theme": "~3.26.0",
13
- "@opentinyvue/utils": "~3.26.0"
12
+ "@opentinyvue/vue-theme": "~3.27.0",
13
+ "@opentinyvue/utils": "~3.27.0"
14
14
  },
15
15
  "license": "MIT",
16
16
  "types": "index.d.ts",