mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +00:00
fix: designer i18n locale is not correct
This commit is contained in:
parent
a4c93c43b9
commit
6753bf660b
@ -830,7 +830,7 @@ export default function baseRendererFactory(): IBaseRenderComponent {
|
||||
}
|
||||
}
|
||||
|
||||
const handleI18nData = (innerProps: any) => innerProps[innerProps.use || 'zh-CN'];
|
||||
const handleI18nData = (innerProps: any) => innerProps[innerProps.use || (this.getLocale && this.getLocale()) || 'zh-CN'];
|
||||
|
||||
// @LEGACY 兼容老平台设计态 i18n 数据
|
||||
if (isI18nData(props)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user