From 0429ff1cd1acb76693f2f7d2f70fd52b6121d246 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Fri, 28 Jun 2024 11:40:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=9F=A5=E8=AF=A2=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E5=90=8D=E7=A7=B0=E5=AD=97?= =?UTF-8?q?=E5=8F=B7=E8=AE=BE=E7=BD=AE=E8=B6=85=E8=BF=8730=EF=BC=8C?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E6=98=BE=E7=A4=BA=E8=A2=AB=E9=81=AE=E6=8C=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/custom-component/v-query/Component.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/custom-component/v-query/Component.vue b/core/core-frontend/src/custom-component/v-query/Component.vue index bcdd6617ca..57a279bd3e 100644 --- a/core/core-frontend/src/custom-component/v-query/Component.vue +++ b/core/core-frontend/src/custom-component/v-query/Component.vue @@ -165,6 +165,7 @@ const setCustomStyle = val => { customStyle.labelColorBtn = labelColorBtn || '#ffffff' customStyle.labelShow = labelShow ?? true customStyle.btnColor = btnColor || '#3370ff' + snapshotStore.recordSnapshotCache() } watch( @@ -450,7 +451,8 @@ const titleStyle = computed(() => { const labelStyle = computed(() => { const style = { - fontSize: customStyle.fontSize + 'px' + fontSize: customStyle.fontSize + 'px', + lineHeight: +customStyle.fontSize + 8 + 'px' } as CSSProperties if (customStyle.fontWeight) { style.fontWeight = customStyle.fontWeight