Skip to content

Commit

Permalink
fix(script): 将中国大学MOOC的页面切换信息设置为警告信息
Browse files Browse the repository at this point in the history
  • Loading branch information
enncy committed Dec 8, 2023
1 parent fcd962b commit 84f1d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scripts/src/projects/icourse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ export const ICourseProject = Project.create({
});
const interval = setInterval(() => {
if (canRun() === false) {
$message('info', { content: '检测到页面切换,无法继续答题,将关闭自动答题。' });
$message('warn', { content: '检测到页面切换,无法继续答题,将关闭自动答题。' });
clearInterval(interval);
worker.emit('close');
}
Expand Down

0 comments on commit 84f1d6e

Please sign in to comment.