@zhongguo168a/yxeditor-common 0.0.69 → 0.0.70

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
@@ -1501,7 +1501,7 @@ declare class AssetLoader extends Dispatcher {
1501
1501
  uuid?: string;
1502
1502
  }): this;
1503
1503
  loadImageAsset(uri: string, otherConfig?: {
1504
- onHandler?: (err: any, asset: any) => void;
1504
+ onComplete?: (err: any, asset: any) => void;
1505
1505
  }): this;
1506
1506
  protected _loadSpriteFrameByBundle(uri: string, bundle: AssetManager.Bundle): void;
1507
1507
  /**
package/dist/index.esm.js CHANGED
@@ -4679,7 +4679,7 @@ class AssetLoader extends Dispatcher {
4679
4679
  item.type = "ImageAsset";
4680
4680
  item.uri = new AssetURI(uri);
4681
4681
  if (otherConfig) {
4682
- item.onComplete = otherConfig.onHandler;
4682
+ item.onComplete = otherConfig.onComplete;
4683
4683
  }
4684
4684
  this._loaderList.push(item);
4685
4685
  return this;