This commit is contained in:
kuangthree 2024-02-03 17:58:55 +08:00
parent f72fe09b22
commit 284bc7f25a
1 changed files with 8 additions and 6 deletions

View File

@ -708,6 +708,7 @@ export class LibInit extends Uninstantable {
}
else if (typeof func == 'object') {
for (var i in func) {
if (Object.prototype.hasOwnProperty.call(func, i)) {
if(typeof func[i] == 'function'){
let checkObject = {};
checkObject[i] = func[i];
@ -717,6 +718,7 @@ export class LibInit extends Uninstantable {
}
}
}
}
return func;
}