Skip to content

Commit

Permalink
fix(script): 将超星提交功能设置为3秒延时
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed Nov 29, 2023
1 parent c4154df commit 2161fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/scripts/src/projects/cx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1566,9 +1566,9 @@ async function chapterTestTask(
type: upload,
results,
async callback(finishedRate, uploadable) {
$console.info(`完成率 ${finishedRate.toFixed(2)} : ${uploadable ? '5秒后将自动提交' : '5秒后将自动保存'} `);
$console.info(`完成率 ${finishedRate.toFixed(2)} : ${uploadable ? '3秒后将自动提交' : '5秒后将自动保存'} `);

await $.sleep(5000);
await $.sleep(3000);

if (uploadable) {
// @ts-ignore 提交
Expand Down

0 comments on commit 2161fa4

Please sign in to comment.