From 7f149467a71e34c2e78d362b6c41b720dc69b757 Mon Sep 17 00:00:00 2001 From: "wuyue.xht" Date: Thu, 4 Feb 2021 12:48:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DhandleI18n=E6=9C=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/renderer-core/src/renderer/base.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/renderer-core/src/renderer/base.tsx b/packages/renderer-core/src/renderer/base.tsx index dae19e59a..11638f71a 100644 --- a/packages/renderer-core/src/renderer/base.tsx +++ b/packages/renderer-core/src/renderer/base.tsx @@ -79,7 +79,7 @@ export default function baseRenererFactory() { this.__compScopes = {}; this.__instanceMap = {}; this.__bindCustomMethods(props); - this.__initI18nAPIs(props); + this.__initI18nAPIs(); } __afterInit(props: IRendererProps) { } @@ -609,7 +609,7 @@ export default function baseRenererFactory() { if (isVariable(props)) { props = props.value; if (isI18n(props)) { - props = handleI18n(props); + props = handleLegaoI18n(props); } }