mirror of
https://github.com/certd/certd.git
synced 2026-07-08 13:47:36 +08:00
chore: 完善第三方依赖动态加载
This commit is contained in:
@@ -17,7 +17,7 @@ export class AliossClient {
|
||||
return;
|
||||
}
|
||||
// @ts-ignore
|
||||
const OSS = await import("ali-oss");
|
||||
const OSS = await this.access.importRuntime("ali-oss");
|
||||
const ossClient = new OSS.default({
|
||||
accessKeyId: this.access.accessKeyId,
|
||||
accessKeySecret: this.access.accessKeySecret,
|
||||
|
||||
Reference in New Issue
Block a user