tvcharts 0.6.11 → 0.6.12

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.
@@ -96,7 +96,10 @@ var BgColorView = /** @class */function (_super) {
96
96
  graphic.traverseElements(this._bgColorGroup, cb);
97
97
  };
98
98
  BgColorView.prototype.remove = function (ecModel, api) {
99
- this.group.remove(this._bgColorGroup);
99
+ if (this._bgColorGroup) {
100
+ this.group.remove(this._bgColorGroup);
101
+ this._bgColorGroup = null;
102
+ }
100
103
  };
101
104
  BgColorView.prototype.dispose = function (ecModel, api) {
102
105
  this.remove(ecModel, api);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tvcharts",
3
- "version": "0.6.11",
3
+ "version": "0.6.12",
4
4
  "description": "基于echarts5.5.0二次开发",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [