From d2aa0f8b5d9e05d6bc10b61b741f9c06df504e8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Tue, 31 Jan 2023 10:33:56 +0800 Subject: [PATCH] chore: fix lint --- components/anchor/style/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/anchor/style/index.ts b/components/anchor/style/index.ts index 7289418e62..191a21f26c 100644 --- a/components/anchor/style/index.ts +++ b/components/anchor/style/index.ts @@ -69,7 +69,7 @@ const genSharedAnchorStyle: GenerateStyle = (token): CSSObject => { }, }, - [`&:not(&-horizontal)`]: { + [`&:not(${componentCls}-horizontal)`]: { [componentCls]: { '&::before': { position: 'absolute',