mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2025-10-29 10:25:48 +00:00
多装饰器调用链bug修复
This commit is contained in:
@@ -20,6 +20,7 @@ export namespace _conditionDecorator {
|
|||||||
/** target 类的构造函数 */
|
/** target 类的构造函数 */
|
||||||
return function (ctor: any): void {
|
return function (ctor: any): void {
|
||||||
cdClassMap.set(conditionType, ctor);
|
cdClassMap.set(conditionType, ctor);
|
||||||
|
return ctor;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -170,6 +170,7 @@ export namespace _uidecorator {
|
|||||||
});
|
});
|
||||||
// 首次引擎注册完成后 动态注册窗口header
|
// 首次引擎注册完成后 动态注册窗口header
|
||||||
_registerFinish && WindowManager.dynamicRegisterHeader(ctor, pkg, name, bundle || "");
|
_registerFinish && WindowManager.dynamicRegisterHeader(ctor, pkg, name, bundle || "");
|
||||||
|
return ctor;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user