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

This commit is contained in:
刘祥超
2022-12-06 10:46:46 +08:00
parent e9a47041fd
commit 892ee0013a
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",