NEZ-997 fix:NEZHA 搜索框 删除子选项时 会导致其他选项重复 以及 alertMeaasge dc不显示详情的问题

This commit is contained in:
zhangyu
2021-09-14 15:36:55 +08:00
parent e6a35e3fc9
commit 37e95e1518
4 changed files with 16 additions and 13 deletions

View File

@@ -1157,6 +1157,7 @@ export default {
},
// 删除要搜索的条件
close_selcet_list (ind, e) {
console.log(this.searchMsg.searchLabelList,this.searchLabelList)
if (e) {
this.stop_click(e)
}
@@ -1176,7 +1177,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)
}