@zhongguo168a/yxeditor-common 0.0.167 → 0.0.169

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
@@ -671,7 +671,7 @@ declare class List<T = any> {
671
671
  * @param other
672
672
  */
673
673
  pushList(other: List<T>): void;
674
- array(): T[];
674
+ get array(): T[];
675
675
  resetArray(val: T[]): void;
676
676
  /**
677
677
  * 随机获取【count】个项,并返回【target】对象
package/dist/index.esm.js CHANGED
@@ -2764,7 +2764,7 @@ class List {
2764
2764
  }
2765
2765
  }
2766
2766
  else {
2767
- let newdata = target.array().concat(data);
2767
+ let newdata = target._array.concat(data);
2768
2768
  target.resetArray(newdata);
2769
2769
  }
2770
2770
  return target;
@@ -2845,7 +2845,7 @@ class List {
2845
2845
  this.push(item);
2846
2846
  }
2847
2847
  }
2848
- array() {
2848
+ get array() {
2849
2849
  return this._array;
2850
2850
  }
2851
2851
  resetArray(val) {