Merge branch 'pre-release' of ssh://icode.baidu.com:8235/baidu/amis/editor into pre-release

Change-Id: Ibdcac6312c491c16930d6fd6dc606784902e0a3e
This commit is contained in:
wibetter 2022-11-21 22:07:45 +08:00
commit 5ce7185135
4 changed files with 5 additions and 2 deletions

View File

@ -75,7 +75,7 @@ const DateType: {
{ {
label: 'HH:mm:ss', label: 'HH:mm:ss',
value: 'HH:mm:ss', value: 'HH:mm:ss',
timeFormat: 'HH:mm' timeFormat: 'HH:mm:ss'
}, },
{ {
label: 'HH时mm分', label: 'HH时mm分',

View File

@ -112,6 +112,7 @@ export class ListControlPlugin extends BasePlugin {
getSchemaTpl('extractValue'), getSchemaTpl('extractValue'),
getSchemaTpl('valueFormula', { getSchemaTpl('valueFormula', {
rendererSchema: context?.schema, rendererSchema: context?.schema,
mode: 'vertical',
useSelectMode: true, // 改用 Select 设置模式 useSelectMode: true, // 改用 Select 设置模式
visibleOn: 'this.options && this.options.length > 0' visibleOn: 'this.options && this.options.length > 0'
}) })

View File

@ -229,7 +229,7 @@ export class TransferPlugin extends BasePlugin {
} }
}, },
getSchemaTpl('optionControl', { getSchemaTpl('optionControlV2', {
visibleOn: 'data.selectMode === "list"', visibleOn: 'data.selectMode === "list"',
multiple: true multiple: true
}), }),

View File

@ -30,6 +30,8 @@ export class TimePlugin extends DatePlugin {
{ {
type: 'input-time', type: 'input-time',
name: 'value', name: 'value',
inputFormat: 'HH:mm:ss',
timeFormat: 'HH:mm:ss',
label: '时间数值' label: '时间数值'
}, },
{ {