diff --git a/web/public/js/components/common/health-check-config-box.js b/web/public/js/components/common/health-check-config-box.js index 729a376e..fbc35617 100644 --- a/web/public/js/components/common/health-check-config-box.js +++ b/web/public/js/components/common/health-check-config-box.js @@ -18,7 +18,9 @@ Vue.component("health-check-config-box", { tryDelay: {count: 100, unit: "ms"}, autoDown: true, countUp: 1, - countDown: 3 + countDown: 3, + userAgent: "", + onlyBasicRequest: false } let that = this setTimeout(function () { @@ -72,7 +74,8 @@ Vue.component("health-check-config-box", { urlProtocol: urlProtocol, urlHost: urlHost, urlPort: urlPort, - urlRequestURI: urlRequestURI + urlRequestURI: urlRequestURI, + urlIsEditing: healthCheckConfig.url.length == 0 } }, watch: { @@ -142,6 +145,9 @@ Vue.component("health-check-config-box", { return status } }) + }, + editURL: function () { + this.urlIsEditing = !this.urlIsEditing } }, template: `
| 协议 | -- - | -
| 域名 | -
-
- 在此集群上可以访问到的一个域名。 - |
-
| 端口 | -- - | -
| RequestURI | -- |
拼接后的URL:
| 协议 | ++ + | +
| 域名 | +
+
+ 在此集群上可以访问到的一个域名。 + |
+
| 端口 | ++ + | +
| RequestURI | ++ |
拼接后的URL:
发送到服务器的User-Agent值,不填写表示使用默认值。
+只做基础的请求,不处理反向代理(不检查源站)、WAF等。
+