mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-20 15:38:32 +00:00
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:
commit
d494657bc8
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user