mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-05 22:30:28 +08:00
修复节点无法修改线路的Bug
This commit is contained in:
@@ -44,9 +44,9 @@ Vue.component("dns-route-selector", {
|
||||
this.isAdding = false
|
||||
},
|
||||
remove: function (route) {
|
||||
this.routeCodes.$removeValue(route.code)
|
||||
this.routeCodes.$removeValue(route.code + "@" + route.domainId)
|
||||
this.routes.$removeIf(function (k, v) {
|
||||
return v.code == route.code
|
||||
return v.code + "@" + v.domainId == route.code + "@" + route.domainId
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user