fix: 修复handleI18n未定义的问题

This commit is contained in:
wuyue.xht 2021-02-04 12:48:34 +08:00
parent a17b903813
commit 7f149467a7

View File

@ -79,7 +79,7 @@ export default function baseRenererFactory() {
this.__compScopes = {}; this.__compScopes = {};
this.__instanceMap = {}; this.__instanceMap = {};
this.__bindCustomMethods(props); this.__bindCustomMethods(props);
this.__initI18nAPIs(props); this.__initI18nAPIs();
} }
__afterInit(props: IRendererProps) { } __afterInit(props: IRendererProps) { }
@ -609,7 +609,7 @@ export default function baseRenererFactory() {
if (isVariable(props)) { if (isVariable(props)) {
props = props.value; props = props.value;
if (isI18n(props)) { if (isI18n(props)) {
props = handleI18n(props); props = handleLegaoI18n(props);
} }
} }