优化WAF规则相关界面

This commit is contained in:
GoEdgeLab
2022-11-16 15:43:08 +08:00
parent 501226f5ab
commit aa089db13c
7 changed files with 37 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ Tea.context(function () {
this.createSet = function (groupId) {
teaweb.popup("/servers/components/waf/createSetPopup?firewallPolicyId=" + this.firewallPolicyId + "&groupId=" + groupId + "&type=" + this.type, {
width: "50em",
height: "30em",
height: "40em",
callback: function () {
teaweb.success("保存成功", function () {
window.location.reload()
@@ -47,7 +47,7 @@ Tea.context(function () {
this.updateSet = function (setId) {
teaweb.popup("/servers/components/waf/updateSetPopup?firewallPolicyId=" + this.firewallPolicyId + "&groupId=" + this.group.id + "&type=" + this.type + "&setId=" + setId, {
width: "50em",
height: "30em",
height: "40em",
callback: function () {
teaweb.success("保存成功", function () {
window.location.reload()