Browse Source

fix: 解决 Supervisor 停止之后一直同步状态的问题 (#2346)

pull/2348/head
zhengkunwang 1 year ago committed by GitHub
parent
commit
5425544a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      frontend/src/views/host/tool/supervisor/index.vue

4
frontend/src/views/host/tool/supervisor/index.vue

@ -228,7 +228,7 @@ const search = async () => {
needLoadStatus = true;
}
}
if (needLoadStatus) {
if (supervisorStatus.value.isRunning && needLoadStatus) {
setTimeout(loadStatus, 1000);
}
} catch (error) {}
@ -252,7 +252,7 @@ const loadStatus = async () => {
}
}
}
if (needLoadStatus) {
if (supervisorStatus.value.isRunning && needLoadStatus) {
setTimeout(loadStatus, 2000);
}
} catch (error) {}

Loading…
Cancel
Save