From 3f3999cd1b1dc73453aefc2885ef61fa0fa35bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E7=88=B1=E5=90=83=E7=99=BD=E8=90=9D?= =?UTF-8?q?=E5=8D=9C?= Date: Thu, 8 Aug 2024 13:59:35 +0800 Subject: [PATCH] fix: tour default zIndex (#50300) --- components/tour/style/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/tour/style/index.ts b/components/tour/style/index.ts index 7e8827b098..d707b4c159 100644 --- a/components/tour/style/index.ts +++ b/components/tour/style/index.ts @@ -36,7 +36,6 @@ export interface ComponentToken extends ArrowOffsetToken, ArrowToken { } interface TourToken extends FullToken<'Tour'> { - tourZIndexPopup: number; indicatorWidth: number | string; indicatorHeight: number | string; tourBorderRadius: number; @@ -55,7 +54,7 @@ const genBaseStyle: GenerateStyle = (token) => { indicatorHeight, indicatorWidth, boxShadowTertiary, - tourZIndexPopup, + zIndexPopup, colorBgElevated, fontWeightStrong, marginXS, @@ -75,7 +74,7 @@ const genBaseStyle: GenerateStyle = (token) => { ...resetComponent(token), position: 'absolute', - zIndex: tourZIndexPopup, + zIndex: zIndexPopup, maxWidth: 'fit-content', visibility: 'visible', width: 520,