mrxy-yk 1.2.1 → 1.2.2

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.
@@ -94,13 +94,17 @@ class EcBasicOption {
94
94
  if (this.ec) {
95
95
  this.ec.clear();
96
96
  }
97
- this.clearSeries();
97
+ this.currentOption.series = [];
98
98
  }
99
99
  /**
100
100
  * 清空系列
101
101
  */
102
102
  clearSeries() {
103
103
  this.currentOption.series = [];
104
+ if (this.ec) {
105
+ this.ec.clear();
106
+ this.ec.setOption(this.valueOf());
107
+ }
104
108
  }
105
109
  /**
106
110
  * 更新内部配置项
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrxy-yk",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "A collection of Vue 3 components and utilities",
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "mrxy-yk",
4
- "version": "1.2.1",
4
+ "version": "1.2.2",
5
5
  "js-types-syntax": "typescript",
6
6
  "contributions": {
7
7
  "html": {