From e2f306db4d2a14f79143fc0a31adbab4ac9a5500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9D=91=BE=F0=9D=92=96=F0=9D=92=99=F0=9D=92=89?= Date: Wed, 4 Dec 2024 17:41:10 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20Support=20response=20to=20a?= =?UTF-8?q?ntd-cssinjs=20cascade=20layer=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/provider/src/useStyle/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/provider/src/useStyle/index.ts b/packages/provider/src/useStyle/index.ts index 8f5799b4a728..4031bf6203bd 100644 --- a/packages/provider/src/useStyle/index.ts +++ b/packages/provider/src/useStyle/index.ts @@ -129,6 +129,10 @@ export function useStyle( token, path: [componentName], nonce: csp?.nonce, + layer: { + name: 'antd-pro', + dependencies: ['antd'] + } }, () => styleFn(token as ProAliasToken), ),