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