mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 17:31:18 +08:00
Merge branch 'pre-release' of ssh://icode.baidu.com:8235/baidu/amis/editor into pre-release
Change-Id: Ibdcac6312c491c16930d6fd6dc606784902e0a3e
This commit is contained in:
commit
5ce7185135
@ -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分',
|
||||||
|
@ -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'
|
||||||
})
|
})
|
||||||
|
@ -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
|
||||||
}),
|
}),
|
||||||
|
@ -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: '时间数值'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user