@zhongguo168a/yxeditor-common 0.0.77 → 0.0.78

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.
package/dist/index.d.ts CHANGED
@@ -692,7 +692,7 @@ declare class ListSource extends EventDispatcher {
692
692
  refresh(node: ListNode): void;
693
693
  walk(f: (node: ListNode) => boolean): boolean;
694
694
  walkPrev(node: ListNode, f: (node: ListNode) => boolean): boolean;
695
- resetData(data: []): void;
695
+ resetData(data: any[]): void;
696
696
  get data(): any[];
697
697
  private _data;
698
698
  }
package/dist/index.esm.js CHANGED
@@ -2737,7 +2737,7 @@ class ListSource extends EventDispatcher {
2737
2737
  }
2738
2738
  }
2739
2739
  resetData(data) {
2740
- this._data = [];
2740
+ this._data = data;
2741
2741
  }
2742
2742
  get data() {
2743
2743
  return this._data;