From f08668e3da999bf41b3f06617320d9b0a4632166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Wed, 30 Oct 2024 17:40:14 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20=E4=BF=AE=E5=A4=8D=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=E6=B8=B2=E6=9F=93=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/main/t-itembox.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/main/t-itembox.vue b/src/components/main/t-itembox.vue index 45ca3934..190e4f6a 100644 --- a/src/components/main/t-itembox.vue +++ b/src/components/main/t-itembox.vue @@ -67,10 +67,10 @@ const height = props.modelValue.height; const cursor = props.modelValue.clickable ? "pointer" : "default"; const sizeLt = props.modelValue.ltSize; const sizeRt = props.modelValue.rtSize; -const sizeInner = props.modelValue.innerHeight ?? 0; -const fontSizeInner = sizeInner ? `${sizeInner / 2}px` : "0"; -const sizeOuter = props.modelValue.outerHeight ?? 0; -const fontSizeOuter = sizeOuter ? `${sizeOuter / 2}px` : "0"; +const sizeInner = `${props.modelValue.innerHeight ?? 0}px`; +const fontSizeInner = props.modelValue.innerHeight ? `${props.modelValue.innerHeight / 2}px` : "0"; +const sizeOuter = `${props.modelValue.outerHeight ?? 0}px`; +const fontSizeOuter = props.modelValue.outerHeight ? `${props.modelValue.outerHeight / 2}px` : "0"; const innerBlur = props.modelValue.innerBlur ?? "0";