GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: designer i18n locale is not correct · Johnnyfly/lowcode-engine@6753bf6

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/renderer-core/src/renderer
    • base.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/renderer-core/src/renderer/base.tsx‎

Copy file name to clipboardExpand all lines: packages/renderer-core/src/renderer/base.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ export default function baseRendererFactory(): IBaseRenderComponent {
830830
}
831831
}
832832

833-
const handleI18nData = (innerProps: any) => innerProps[innerProps.use || 'zh-CN'];
833+
const handleI18nData = (innerProps: any) => innerProps[innerProps.use || (this.getLocale && this.getLocale()) || 'zh-CN'];
834834

835835
// @LEGACY 兼容老平台设计态 i18n 数据
836836
if (isI18nData(props)) {

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.