diff --git a/packages/amis-editor/package.json b/packages/amis-editor/package.json index c1a31aba0..a32ead9e5 100644 --- a/packages/amis-editor/package.json +++ b/packages/amis-editor/package.json @@ -1,6 +1,6 @@ { "name": "amis-editor", - "version": "5.2.1-beta.16", + "version": "5.2.1-beta.17", "description": "amis 可视化编辑器", "main": "lib/index.js", "module": "esm/index.js", diff --git a/packages/amis-editor/src/locale/en-US.ts b/packages/amis-editor/src/locale/en-US.ts index 2ee261114..b150901d9 100644 --- a/packages/amis-editor/src/locale/en-US.ts +++ b/packages/amis-editor/src/locale/en-US.ts @@ -3540,5 +3540,6 @@ extendLocale('en-US', { '02b9880e1d2df8a07e90e9878080c739': 'Option Height', 'a3f66655c3d2bcfecc6afba0e4424460': 'Height of each option when virtual list is turned on', - '183f00df0922a6be371fea58cd46a60a': 'Elastic height' + '183f00df0922a6be371fea58cd46a60a': 'Elastic height', + '9e7c8d1554f6449121a83f951cf21ca1': 'Elastic scale' }); diff --git a/packages/amis-editor/src/locale/zh-CN.ts b/packages/amis-editor/src/locale/zh-CN.ts index f32f6033b..e94823847 100644 --- a/packages/amis-editor/src/locale/zh-CN.ts +++ b/packages/amis-editor/src/locale/zh-CN.ts @@ -3129,5 +3129,6 @@ extendLocale('zh-CN', { '当选项数量超过阈值后,会开启虚拟列表以优化性能', '02b9880e1d2df8a07e90e9878080c739': '选项高度', 'a3f66655c3d2bcfecc6afba0e4424460': '开启虚拟列表时每个选项的高度', - '183f00df0922a6be371fea58cd46a60a': '弹性高度' + '183f00df0922a6be371fea58cd46a60a': '弹性高度', + '9e7c8d1554f6449121a83f951cf21ca1': '弹性比例' }); diff --git a/packages/amis-editor/src/tpl/layout.tsx b/packages/amis-editor/src/tpl/layout.tsx index 3c56f7d47..eb40b9632 100644 --- a/packages/amis-editor/src/tpl/layout.tsx +++ b/packages/amis-editor/src/tpl/layout.tsx @@ -609,7 +609,7 @@ setSchemaTpl( } ); -// flex-grow 占比设置 +// flex-grow 弹性比例 setSchemaTpl( 'layout:flex-grow', (config?: { @@ -627,7 +627,7 @@ setSchemaTpl( label: config?.label || tipedLabel( - '占比设置', + '弹性比例', '定义项目的放大比例,默认为0,即如果存在剩余空间,也不放大。' ), name: config?.name || 'style.flexGrow',