fix(任务中心): 有执行中的任务时实时刷新任务状态 #1005172
--bug=1005172 --user=赵勇 批量执行时 立刻弹出任... https://www.tapd.cn/55049933/s/1025652
This commit is contained in:
parent
bf7b6cd257
commit
888bf1d3f8
|
@ -153,6 +153,9 @@ export default {
|
|||
onMessage(e) {
|
||||
let taskTotal = e.data;
|
||||
this.runningTotal = taskTotal;
|
||||
if (this.taskVisible) {
|
||||
this.init();
|
||||
}
|
||||
},
|
||||
onClose(e) {
|
||||
if (e.code === 1005) {
|
||||
|
|
Loading…
Reference in New Issue