*Update dist
This commit is contained in:
parent
e8ead4bb73
commit
b7e337e966
|
@ -89,10 +89,10 @@ export const factory = function (type, module) {
|
|||
if (typeof prop !== "function") {
|
||||
return prop;
|
||||
}
|
||||
}
|
||||
if (desc?.get) {
|
||||
return target[property];
|
||||
}
|
||||
}
|
||||
return async (...args) => {
|
||||
await target.loadLibs(module);
|
||||
return target[property](...args);
|
||||
|
|
Reference in New Issue