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.
|
|
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