Merge branch 'dev' of codeup.aliyun.com:61c14a7efa282c88e103c23f/oak-general-business into dev

This commit is contained in:
梁朝伟 2023-11-23 18:21:26 +08:00
commit 1faac71318
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ export default class CTYun {
}
}
composeFileUrl(extraFile, context, style) {
const { config } = getConfig(context, 'Cos', 'qiniu');
const { config } = getConfig(context, 'Cos', 'ctyun');
if (config) {
let bucket = config.buckets.find((ele) => ele.name === extraFile.bucket);
if (bucket) {

View File

@ -68,7 +68,7 @@ class CTYun {
}
}
composeFileUrl(extraFile, context, style) {
const { config } = (0, getContextConfig_1.getConfig)(context, 'Cos', 'qiniu');
const { config } = (0, getContextConfig_1.getConfig)(context, 'Cos', 'ctyun');
if (config) {
let bucket = config.buckets.find((ele) => ele.name === extraFile.bucket);
if (bucket) {

View File

@ -107,7 +107,7 @@ export default class CTYun implements Cos<ED, BRC, FRC> {
context: FRC,
style?: string,
) {
const { config } = getConfig<ED, BRC, FRC>(context, 'Cos', 'qiniu');
const { config } = getConfig<ED, BRC, FRC>(context, 'Cos', 'ctyun');
if (config) {
let bucket = (config.buckets as CTYunCosConfig['buckets']).find((ele) => ele.name === extraFile.bucket!);