From b2a915da86c92883bddaa4bfc0e463f0481276d0 Mon Sep 17 00:00:00 2001 From: barnettyang Date: Thu, 24 Feb 2022 14:37:31 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=A7=A3=E6=9E=84=E4=BC=9A=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=93=8D=E5=BA=94=E5=BC=8F=E5=A4=B1=E6=95=88,?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config-provider/useConfig.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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, }; }