From f95dfab4812743b39fbcac94200ff058ea866b82 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, 8 Aug 2025 12:40:51 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E3=80=81=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E7=BB=84=E4=BB=B6=20(#16640)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/utils/style.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/utils/style.ts b/core/core-frontend/src/utils/style.ts index f41a61c444..08e2bad75e 100644 --- a/core/core-frontend/src/utils/style.ts +++ b/core/core-frontend/src/utils/style.ts @@ -264,8 +264,8 @@ function dataVTabSizeStyleAdaptor(tabComponent) { parentStyleAdaptor.height = parentStyleAdaptor.height - offset } - tabComponent.propValue.forEach(tabItem => { - tabItem.componentData.forEach(tabComponent => { + tabComponent.propValue?.forEach(tabItem => { + tabItem.componentData?.forEach(tabComponent => { groupItemStyleAdaptor(tabComponent, parentStyleAdaptor) if (['Group'].includes(tabComponent.component)) { groupSizeStyleAdaptor(tabComponent)