多装饰器调用链bug修复

This commit is contained in:
gongxh 2025-08-26 17:56:46 +08:00
parent 5209db0d70
commit b62a4af8db
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ export namespace _conditionDecorator {
/** target 类的构造函数 */
return function (ctor: any): void {
cdClassMap.set(conditionType, ctor);
return ctor;
};
}
}

View File

@ -170,6 +170,7 @@ export namespace _uidecorator {
});
// 首次引擎注册完成后 动态注册窗口header
_registerFinish && WindowManager.dynamicRegisterHeader(ctor, pkg, name, bundle || "");
return ctor;
};
}