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