From e625dea0b0670c59d0469d1fbcdd087d650606b7 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Fri, 25 Aug 2023 17:30:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=8A=82=E7=82=B9DNS?= =?UTF-8?q?=E7=BA=BF=E8=B7=AF=E9=80=89=E6=8B=A9=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/components/dns/dns-route-selector.js | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/web/public/js/components/dns/dns-route-selector.js b/web/public/js/components/dns/dns-route-selector.js index d61781c1..4f3151eb 100644 --- a/web/public/js/components/dns/dns-route-selector.js +++ b/web/public/js/components/dns/dns-route-selector.js @@ -70,6 +70,9 @@ Vue.component("dns-route-selector", { this.routes.$removeIf(function (k, v) { return v.code + "@" + v.domainId == route.code + "@" + route.domainId }) + }, + clearKeyword: function () { + this.keyword = "" } }, watch: { @@ -103,16 +106,22 @@ Vue.component("dns-route-selector", { 所有线路 - + 没有和关键词“{{keyword}}”匹配的线路 + + + - 搜索 + 搜索线路 - +
+ + +