mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 12:20:28 +08:00
修复修改单个WAF动作时名称变为阻止的问题
This commit is contained in:
@@ -338,6 +338,9 @@ Vue.component("http-firewall-actions-box", {
|
||||
this.editingIndex = index
|
||||
|
||||
this.actionCode = config.code
|
||||
this.action = this.actions.$find(function (k, v) {
|
||||
return v.code == config.code
|
||||
})
|
||||
|
||||
switch (config.code) {
|
||||
case "block":
|
||||
|
||||
Reference in New Issue
Block a user