From d25eb264e71fceb8327965e690600f9792802680 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Sat, 21 Nov 2020 11:44:44 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E9=80=89=E6=8B=A9model=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E5=90=8E=EF=BC=8C=E5=8E=BB=E9=99=A4=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E9=80=89=E6=8B=A9type=E6=90=9C=E7=B4=A2=EF=BC=8C=E5=88=A0?= =?UTF-8?q?=E9=99=A4model=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/common/rightBox/addEndpointBox.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nezha-fronted/src/components/common/rightBox/addEndpointBox.vue b/nezha-fronted/src/components/common/rightBox/addEndpointBox.vue index a0f11a75f..6cb980f08 100644 --- a/nezha-fronted/src/components/common/rightBox/addEndpointBox.vue +++ b/nezha-fronted/src/components/common/rightBox/addEndpointBox.vue @@ -918,6 +918,13 @@ // endpoint弹框的asset子弹框顶部搜索条件选中事件 dropdownSelect(label) { this.assetSearch.text = ""; + if(this.assetSearch.label!==label){ + this.assetSearch.host = ''; + this.assetSearch.sn = ''; + this.assetSearch.modelId = ""; + this.assetSearch.typeIds = ""; + this.assetSearch.idcId = ""; + } this.assetSearch.label = label; this.assetSearch.dropdownShow = false; },