diff --git a/src/config-provider/useConfig.tsx b/src/config-provider/useConfig.tsx index 3b0836bd80..4281bad72f 100644 --- a/src/config-provider/useConfig.tsx +++ b/src/config-provider/useConfig.tsx @@ -1,4 +1,3 @@ -/* eslint-disable no-console */ import { computed, inject, Ref } from 'vue'; import defaultConfig from './zh_CN_config'; @@ -44,7 +43,7 @@ export default function useConfig(componentName: string) { const classPrefix = 't'; return { t, - ...global.value, + global, classPrefix, }; }