From bfba78facbf6c43287f6fd9a51d8d63e86cfdf3c Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Mon, 8 Jan 2024 09:57:12 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9bug80040?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standard/detail/module/SubmitQuestionModal.vue | 8 +++++++- .../commonPage/modules/SubmitQuestionModal.vue | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/views/enterpriseStandardLibrary/standard/detail/module/SubmitQuestionModal.vue b/src/views/enterpriseStandardLibrary/standard/detail/module/SubmitQuestionModal.vue index a0588b42..9990f950 100644 --- a/src/views/enterpriseStandardLibrary/standard/detail/module/SubmitQuestionModal.vue +++ b/src/views/enterpriseStandardLibrary/standard/detail/module/SubmitQuestionModal.vue @@ -23,7 +23,10 @@ - + {{ item.projectName }} @@ -176,6 +179,9 @@ export default { }, close () { this.visible = false + }, + filterOption (input, option) { + return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 } } } diff --git a/src/views/standardRegulationLibrary/commonPage/modules/SubmitQuestionModal.vue b/src/views/standardRegulationLibrary/commonPage/modules/SubmitQuestionModal.vue index afe7ce0d..37dbb2de 100644 --- a/src/views/standardRegulationLibrary/commonPage/modules/SubmitQuestionModal.vue +++ b/src/views/standardRegulationLibrary/commonPage/modules/SubmitQuestionModal.vue @@ -23,7 +23,10 @@ - + {{ item.projectName }} @@ -189,6 +192,9 @@ export default { }, close () { this.visible = false + }, + filterOption (input, option) { + return option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0 } } }