diff --git a/nezha-fronted/src/components/common/searchInput.vue b/nezha-fronted/src/components/common/searchInput.vue index b5dd5bef8..7ea5d5a63 100644 --- a/nezha-fronted/src/components/common/searchInput.vue +++ b/nezha-fronted/src/components/common/searchInput.vue @@ -1179,7 +1179,7 @@ export default { } } */ this.searchMsg.searchLabelList.forEach((val, key) => { - if (this.select_list[ind].id == val.id) { + if (this.select_list[ind].label == val.label) { this.searchLabelList.splice(key + 1, 0, val) this.Iskeywords(ind) }