健康检查连续下线次数默认值从1次改为3次

This commit is contained in:
刘祥超
2021-08-29 15:26:56 +08:00
parent f5f07c0e96
commit 502ce4e414

View File

@@ -18,7 +18,7 @@ Vue.component("health-check-config-box", {
tryDelay: {count: 100, unit: "ms"}, tryDelay: {count: 100, unit: "ms"},
autoDown: true, autoDown: true,
countUp: 1, countUp: 1,
countDown: 1 countDown: 3
} }
let that = this let that = this
setTimeout(function () { setTimeout(function () {
@@ -63,7 +63,7 @@ Vue.component("health-check-config-box", {
healthCheckConfig.countUp = 1 healthCheckConfig.countUp = 1
} }
if (healthCheckConfig.countDown == null || healthCheckConfig.countDown < 1) { if (healthCheckConfig.countDown == null || healthCheckConfig.countDown < 1) {
healthCheckConfig.countDown = 1 healthCheckConfig.countDown = 3
} }
} }
return { return {