mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-05 06:10:26 +08:00
修复节点无法修改线路的Bug
This commit is contained in:
@@ -44,9 +44,9 @@ Vue.component("dns-route-selector", {
|
|||||||
this.isAdding = false
|
this.isAdding = false
|
||||||
},
|
},
|
||||||
remove: function (route) {
|
remove: function (route) {
|
||||||
this.routeCodes.$removeValue(route.code)
|
this.routeCodes.$removeValue(route.code + "@" + route.domainId)
|
||||||
this.routes.$removeIf(function (k, v) {
|
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