diff --git a/web/public/js/components.js b/web/public/js/components.js index ac6b1b53..317112eb 100755 --- a/web/public/js/components.js +++ b/web/public/js/components.js @@ -5855,6 +5855,8 @@ Vue.component("http-firewall-actions-box", { +

只封锁用户对当前网站服务的访问,其他服务不受影响。

+

封锁用户对所有网站服务的访问。

@@ -7704,7 +7706,8 @@ Vue.component("reverse-proxy-box", { readTimeout: {count: 0, unit: "second"}, idleTimeout: {count: 0, unit: "second"}, maxConns: 0, - maxIdleConns: 0 + maxIdleConns: 0, + followRedirects: false } } if (reverseProxyConfig.addHeaders == null) { @@ -7864,6 +7867,13 @@ Vue.component("reverse-proxy-box", { + + 回源跟随 + + +

选中后,自动读取源站跳转后的网页内容。

+ + 自动添加的Header @@ -12167,9 +12177,9 @@ Vue.component("checkbox", { } let checkedValue = this.value - if (checkedValue == null && this.checked == "checked") { - checkedValue = elementValue - } + if (checkedValue == null && this.checked == "checked") { + checkedValue = elementValue + } return { elementId: elementId, @@ -12180,15 +12190,24 @@ Vue.component("checkbox", { methods: { change: function () { this.$emit("input", this.newValue) + }, + check: function () { + this.newValue = this.elementValue + }, + uncheck: function () { + this.newValue = "" + }, + isChecked: function () { + return this.newValue == this.elementValue + } + }, + watch: { + value: function (v) { + if (typeof v == "boolean") { + this.newValue = v + } } }, - watch: { - value: function (v) { - if (typeof v == "boolean") { - this.newValue = v - } - } - }, template: `
diff --git a/web/public/js/components/server/http-firewall-actions-box.js b/web/public/js/components/server/http-firewall-actions-box.js index 924711b5..c4c4541a 100644 --- a/web/public/js/components/server/http-firewall-actions-box.js +++ b/web/public/js/components/server/http-firewall-actions-box.js @@ -599,6 +599,8 @@ Vue.component("http-firewall-actions-box", { +

只封锁用户对当前网站服务的访问,其他服务不受影响。

+

封锁用户对所有网站服务的访问。