chore: 火山vod 上传后等待3秒

This commit is contained in:
xiaojunnuo
2026-07-09 19:09:08 +08:00
parent 5a7766992d
commit edda1b57f3
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -281,12 +281,12 @@ export class DemoTest extends AbstractTaskPlugin {
return {
value: item.siteName,
label: item.siteName,
domain: item.siteName,
domain: item.siteName, //这里必须要包含domain 否则后面分组时候全部分配到未匹配中
};
});
//将站点域名名称根据证书域名进行匹配分组,分成匹配的和不匹配的两组选项,返回给前端,供用户选择
return {
list: optionsUtils.buildGroupOptions(options, this.certDomains),
list: optionsUtils.buildGroupOptions(options, this.certDomains), //分组后的列表
total: siteRes.length,
};
}
@@ -108,7 +108,7 @@ export class VolcengineDeployToVOD extends AbstractTaskPlugin {
const access = await this.getAccess<VolcengineAccess>(this.accessId);
const certId = await this.uploadOrGetCertId(access);
await this.ctx.utils.sleep(3000);
const domainTypeMapping: Record<string, string> = {
play: "vod_play",
image: "vod_image",
@@ -243,6 +243,7 @@ export class VolcengineDeployToVOD extends AbstractTaskPlugin {
return {
value: item.Domain,
label: item.Domain,
domain : item.Domain,
};
});
return this.ctx.utils.options.buildGroupOptions(list, this.certDomains);