diff --git a/components/spin/style/index.ts b/components/spin/style/index.ts index af770f571..31bfec2b2 100644 --- a/components/spin/style/index.ts +++ b/components/spin/style/index.ts @@ -42,7 +42,7 @@ const genSpinStyle: GenerateStyle = (token: SpinToken): CSSObject => '&-nested-loading': { position: 'relative', - [`> div`]: { + [`> div:first-child`]: { width: '100%', height: '100%', position: 'absolute',