mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
perf: 终断任务按钮状态变化优化
This commit is contained in:
@@ -456,6 +456,9 @@ export default {
|
||||
StopJob({ task_id: this.currentTaskId }).then(() => {
|
||||
this.xterm.write(this.wrapperError('Task has been canceled'))
|
||||
this.getTaskStatus()
|
||||
}).catch((e) => {
|
||||
console.log(e)
|
||||
}).finally(() => {
|
||||
this.setStopBtn()
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user