From 509cbc476030a978af1134c114a4e2d4094987ca Mon Sep 17 00:00:00 2001 From: undefined Date: Fri, 22 Aug 2025 18:09:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=20useTheme=20?= =?UTF-8?q?=E9=92=A9=E5=AD=90=E4=B8=AD=E7=9A=84=E4=B8=BB=E9=A2=98=E9=94=AE?= =?UTF-8?q?=E4=B8=BA=20'antdvtheme'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/config-provider/hooks/useTheme.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/config-provider/hooks/useTheme.ts b/components/config-provider/hooks/useTheme.ts index 4ef985e88..ca99988a7 100644 --- a/components/config-provider/hooks/useTheme.ts +++ b/components/config-provider/hooks/useTheme.ts @@ -3,9 +3,8 @@ import { defaultConfig } from '../../theme/internal'; import type { Ref } from 'vue'; import { computed } from 'vue'; import devWarning from '../../vc-util/warning'; -import { cssVarPrefix } from '../../theme/util/themeTokenUtil'; -const themeKey = cssVarPrefix; +const themeKey = 'antdvtheme'; export default function useTheme(theme?: Ref, parentTheme?: Ref) { const themeConfig = computed(() => theme?.value || {}); const parentThemeConfig = computed(() =>