Merge branch fix/handleI18n into release/1.0.36

Title: fix: 修复handleI18n未定义的问题 

Link: https://code.aone.alibaba-inc.com/ali-lowcode/ali-lowcode-engine/codereview/4744441
This commit is contained in:
lihao.ylh 2021-02-04 14:41:24 +08:00
commit d494657bc8

View File

@ -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);
}
}