jmgraph 3.1.93 → 3.1.94

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.
@@ -499,7 +499,7 @@ export default class jmGraph extends jmControl {
499
499
  this.___isAutoRefreshing = true;
500
500
 
501
501
  function update() {
502
- if(self.destoryed) {
502
+ if(self.destroyed) {
503
503
  self.___isAutoRefreshing = false;
504
504
  return;// 已销毁
505
505
  }
@@ -514,9 +514,9 @@ export default class jmGraph extends jmControl {
514
514
  }
515
515
 
516
516
  // 销毁当前对象
517
- destory() {
518
- this.eventHandler.destory();
519
- this.destoryed = true;// 标记已销毁
517
+ destroy() {
518
+ this.eventHandler.destroy();
519
+ this.destroyed = true;// 标记已销毁
520
520
  }
521
521
  }
522
522