From 378c603bd5da83b3226f03e70b5dde38081c080b Mon Sep 17 00:00:00 2001 From: zhangyu Date: Wed, 22 Sep 2021 11:15:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=A1=86=20=E5=9B=A0=E4=B8=BA=E9=80=80=E6=A0=BC=E9=94=AE?= =?UTF-8?q?=E5=88=A0=E9=99=A4=20=E9=80=A0=E6=88=90=E7=9A=84=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=A4=9A=E4=B8=AA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/common/searchInput.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/common/searchInput.vue b/nezha-fronted/src/components/common/searchInput.vue index f43e61c9b..7c89ba4e6 100644 --- a/nezha-fronted/src/components/common/searchInput.vue +++ b/nezha-fronted/src/components/common/searchInput.vue @@ -1069,7 +1069,7 @@ export default { if (keyCode == 8) { if (this.input_sreach == '') { this.searchMsg.searchLabelList.forEach((val, k) => { - if (this.select_list[this.sreach_num].id == val.id) { + if (this.select_list[this.sreach_num].label == val.label) { this.searchLabelList.splice(k + 1, 0, val) this.Iskeywords(this.sreach_num) } @@ -1085,7 +1085,7 @@ export default { if (keyCode == 8) { if (this.delcriteriaBool) { this.searchMsg.searchLabelList.forEach((val, k) => { - if (this.select_list[this.sreach_num].id == val.id) { + if (this.select_list[this.sreach_num].label == val.label) { this.searchLabelList.splice(k + 1, 0, val) this.Iskeywords(this.sreach_num) }