修复点击修改WAF规则时未保存时也会生效的Bug

This commit is contained in:
GoEdgeLab
2022-12-06 10:46:46 +08:00
parent dd03521da7
commit 0ef3075c92
5 changed files with 19 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ Vue.component("http-firewall-rules-box", {
})
},
updateRule: function (index, rule) {
window.UPDATING_RULE = rule
window.UPDATING_RULE = teaweb.clone(rule)
let that = this
teaweb.popup("/servers/components/waf/createRulePopup?type=" + this.vType, {
height: "30em",