mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-06-07 18:52:23 +08:00
调整UICallbacks.onAdded事件优先onLoad之前触发
This commit is contained in:
@@ -113,8 +113,8 @@ export class LayerUI extends Node {
|
||||
viewParams.valid = true;
|
||||
|
||||
let comp: DelegateComponent = viewParams.node.getComponent(DelegateComponent)!;
|
||||
viewParams.node.parent = this;
|
||||
comp.add();
|
||||
viewParams.node.parent = this;
|
||||
|
||||
return viewParams.node;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user