From 70fb46e568f2131ce882cb41ac80aedbb15b3a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?= <42510293+ziyujiahao@users.noreply.github.com> Date: Fri, 9 Jan 2026 14:44:14 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E5=A4=96?= =?UTF-8?q?=E9=83=A8=E5=8F=82=E6=95=B0=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E8=A7=84=E5=88=99=20(#17768)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/visualization/OuterParamsSet.vue | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/core/core-frontend/src/components/visualization/OuterParamsSet.vue b/core/core-frontend/src/components/visualization/OuterParamsSet.vue index 08667461f9..9bd069df17 100644 --- a/core/core-frontend/src/components/visualization/OuterParamsSet.vue +++ b/core/core-frontend/src/components/visualization/OuterParamsSet.vue @@ -130,6 +130,7 @@ style="width: 100%" :placeholder="t('v_query.select_query_condition')" clearable + @change="matchModeChange(baseFilter)" > {{ item.name }} @@ -465,6 +471,15 @@ const state = reactive({ } }) +const matchModeChange = baseFilter => { + if ( + baseFilter.matchMode === 'filter' && + !['0', '9', '2'].includes(baseFilter.filterSelected + '') + ) { + baseFilter.filterSelected = undefined + } +} + const argRefs = ref({}) const setArgRef = (el, id) => {