From e8d1f0f76a9efb0ed70be0cdaa32bf1d5a44c2ae Mon Sep 17 00:00:00 2001 From: zhangyu Date: Wed, 24 Nov 2021 11:27:18 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1284=20fix=EF=BC=9A=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=A1=86=20=E6=A0=87=E7=AD=BE=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=88=A0=E9=99=A4=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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nezha-fronted/src/components/common/searchInput.vue b/nezha-fronted/src/components/common/searchInput.vue index 9f3ebc2de..485e96c1e 100644 --- a/nezha-fronted/src/components/common/searchInput.vue +++ b/nezha-fronted/src/components/common/searchInput.vue @@ -39,7 +39,7 @@
- +
    @@ -1085,7 +1085,7 @@ export default { } } else { if (keyCode == 8) { - if (this.delcriteriaBool) { + if (this.delcriteriaBool || !this.input_sreach) { this.searchMsg.searchLabelList.forEach((val, k) => { if (this.select_list[this.sreach_num].label == val.label) { this.searchLabelList.splice(k + 1, 0, val) @@ -1164,7 +1164,7 @@ export default { this.input_list = true this.change_sreach_show = false this.sreach_num = ind - this.input_sreach = this.select_list[ind].val + this.input_sreach = this.select_list[ind].val ? this.select_list[ind].val : '' if (this.select_list[ind].type == 'input') { this.downBool = true } else {