@zhongguo168a/yxeditor-common 0.0.71 → 0.0.72

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.esm.js CHANGED
@@ -4789,6 +4789,7 @@ class AssetLoader extends Dispatcher {
4789
4789
  case "SpriteFrame": {
4790
4790
  this._loadByItem(item, SpriteFrame, (err, asset) => {
4791
4791
  this._loaded++;
4792
+ item.callHandler(null, asset);
4792
4793
  this.validComplete();
4793
4794
  });
4794
4795
  break;
@@ -4796,6 +4797,7 @@ class AssetLoader extends Dispatcher {
4796
4797
  case "ImageAsset": {
4797
4798
  this._loadByItem(item, ImageAsset, (err, asset) => {
4798
4799
  this._loaded++;
4800
+ item.callHandler(null, asset);
4799
4801
  this.validComplete();
4800
4802
  });
4801
4803
  break;