diff --git a/src/resources/components/CombineSearcher/CombineSearcher.vue b/src/resources/components/CombineSearcher/CombineSearcher.vue index f9a0280e02b4468bd02d30b48c23fc35e82877e1..773dc7022183062029e786763198937c604e99b1 100644 --- a/src/resources/components/CombineSearcher/CombineSearcher.vue +++ b/src/resources/components/CombineSearcher/CombineSearcher.vue @@ -98,7 +98,7 @@
-
  • +
  • { + this.$delete(this.searchValue, key); + this.$delete(this.textConfig, key); + this.$delete(this.totalText, key); + }); + } + } + } }, doSearch(val) { this.isVisible = false; @@ -623,24 +635,6 @@ export default { }, deep: true, immediate: true - }, - isVisible: { - handler() { - // 点击关闭时,清空没有搜索的值 - if (this.searchMode == 'clickBtnSearch' && !this.isVisible) { - // for (let key in this.searchValue) { - // if (key && !this.totalText.hasOwnProperty([key])) { - // this.$delete(this.searchValue, key); - // this.$delete(this.textConfig, key); - // this.$delete(this.totalText, key); - // } - // } - // let fullSearch = this.getFullSearch(); - // this.$emit('update:value', fullSearch); - // this.$emit('close', fullSearch); - } - }, - deep: true } } }; diff --git a/src/views/pages/rdm/project/viewtab/components/issue-list.vue b/src/views/pages/rdm/project/viewtab/components/issue-list.vue index d1aade7e8dc42cd00ac9e05dc1ee06613ae50f1c..61be3f9727d23076074ffbee81b91506d5b9611d 100644 --- a/src/views/pages/rdm/project/viewtab/components/issue-list.vue +++ b/src/views/pages/rdm/project/viewtab/components/issue-list.vue @@ -24,7 +24,6 @@ v-if="canSearch && isShowCombineSearcher" v-model="searchValue" v-bind="searchConfig" - @close="closeCombineSearcher" @confirm="searchIssue(1)" >