@zhongguo168a/yxeditor-common 0.0.68 → 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 +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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
|
@@ -3878,7 +3878,7 @@ class ViewRepo extends ViewDict {
|
|
|
3878
3878
|
tailNode(node) {
|
|
3879
3879
|
let current = node;
|
|
3880
3880
|
while (current != null) {
|
|
3881
|
-
let com =
|
|
3881
|
+
let com = current.getComponent(RouteComponent);
|
|
3882
3882
|
if (com) {
|
|
3883
3883
|
return com.routeView;
|
|
3884
3884
|
}
|
|
@@ -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.
|
|
4682
|
+
item.onComplete = otherConfig.onComplete;
|
|
4683
4683
|
}
|
|
4684
4684
|
this._loaderList.push(item);
|
|
4685
4685
|
return this;
|