fix(amis-saas-8235/):「占比设置」改成「弹性比例」

Change-Id: I6d3dbe21d2499c0d525b1d1cbf33153c4b925ae1
This commit is contained in:
wibetter 2022-11-22 09:44:08 +08:00
parent 3985ba963d
commit c4d0577dbd
4 changed files with 7 additions and 5 deletions

View File

@ -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",

View File

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

View File

@ -3129,5 +3129,6 @@ extendLocale('zh-CN', {
'当选项数量超过阈值后,会开启虚拟列表以优化性能',
'02b9880e1d2df8a07e90e9878080c739': '选项高度',
'a3f66655c3d2bcfecc6afba0e4424460': '开启虚拟列表时每个选项的高度',
'183f00df0922a6be371fea58cd46a60a': '弹性高度'
'183f00df0922a6be371fea58cd46a60a': '弹性高度',
'9e7c8d1554f6449121a83f951cf21ca1': '弹性比例'
});

View File

@ -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',