From d97f4da7fa119b79b2e1d61a8a6ec8d1ec3cda3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Sat, 7 Aug 2021 16:11:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8A=82=E7=82=B9=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E4=BF=AE=E6=94=B9=E7=BA=BF=E8=B7=AF=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/public/js/components/dns/dns-route-selector.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/public/js/components/dns/dns-route-selector.js b/web/public/js/components/dns/dns-route-selector.js index 3dc0a333..7e85cd3f 100644 --- a/web/public/js/components/dns/dns-route-selector.js +++ b/web/public/js/components/dns/dns-route-selector.js @@ -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 }) } },