From 8563400520e3f07d427383a3fce2d9c313ca0279 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 15 Oct 2025 11:49:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E9=A6=96=E9=80=89=E9=A1=B9=E5=90=8E=E7=A6=81=E7=94=A8?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC=EF=BC=8C=E4=BD=86=E8=A7=84=E5=88=99?= =?UTF-8?q?=E4=B8=AD=E4=BE=9D=E7=84=B6=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/custom-component/v-query/Select.vue | 4 ++-- .../chart/components/editor/filter/auth-tree/AuthTree.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/custom-component/v-query/Select.vue b/core/core-frontend/src/custom-component/v-query/Select.vue index 45ca0119b7..fc91c77c5a 100644 --- a/core/core-frontend/src/custom-component/v-query/Select.vue +++ b/core/core-frontend/src/custom-component/v-query/Select.vue @@ -351,7 +351,7 @@ const handleFieldIdChange = (val: EnumValue) => { }) .finally(() => { loading.value = false - if (disabledFirstItem.value) { + if (disabledFirstItem.value && config.value.defaultValueCheck) { time = setTimeout(() => { clearTimeout(time) setDefaultValueFirstItem() @@ -504,7 +504,7 @@ watch( if (!val) { nextTick(() => { selectValue.value = undefined - if (!config.value.defaultValueFirstItem) return + if (!config.value.defaultValueFirstItem || !config.value.defaultValueCheck) return setDefaultValueFirstItem() }) } diff --git a/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/AuthTree.vue b/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/AuthTree.vue index f5c278e83b..f4ed4ef3cb 100644 --- a/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/AuthTree.vue +++ b/core/core-frontend/src/views/chart/components/editor/filter/auth-tree/AuthTree.vue @@ -146,7 +146,7 @@ const del = (index, child) => { align-items: center; position: relative; z-index: 1; - width: 100%; + width: fit-content; .logic-left { box-sizing: border-box;