Skip to content

Commit

Permalink
fix: 批量执行脚本时loading不消失的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Dec 4, 2023
1 parent e0bfd0f commit e4468d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/apps/script/exec.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export default class ScriptExec extends Vue {
// 循环获取状态
if (taskIds.length > 1) {
this.message = '批量提交成功,请在任务列表查看执行结果';
this.loading = false;
} else {
this.timer = setInterval(() => this.getOutput(taskIds[0]), 1500);
}
Expand Down

0 comments on commit e4468d1

Please sign in to comment.