mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 09:21:13 +08:00
iframe宽高设置支持单位设置: amis-saas-6022 [Improvement.] [按钮工具栏] 按钮工具栏的字段名
Change-Id: Iddbbfc058d6d37820210a8a8ecc0722e83e8191f
This commit is contained in:
parent
8d96790f07
commit
5cc2651a30
@ -57,25 +57,22 @@ export class IFramePlugin extends BasePlugin {
|
||||
{
|
||||
title: '基本',
|
||||
body: [
|
||||
{
|
||||
name: 'width',
|
||||
label: tipedLabel(
|
||||
'宽度',
|
||||
'默认宽度为父容器宽度,值单位默认为 px,也支持百分比等单位 ,如:100%'
|
||||
),
|
||||
type: 'input-text',
|
||||
pipeIn: defaultValue('100%'),
|
||||
pipeOut: valuePipeOut
|
||||
},
|
||||
{
|
||||
name: 'height',
|
||||
label: tipedLabel(
|
||||
'高度',
|
||||
'默认高度为父容器高度,值单位默认为 px,也支持百分比等单位 ,如:100%'
|
||||
),
|
||||
type: 'input-text',
|
||||
pipeOut: valuePipeOut
|
||||
}
|
||||
getSchemaTpl('style:widthHeight', {
|
||||
widthSchema: {
|
||||
label: tipedLabel(
|
||||
'宽度',
|
||||
'默认宽度为父容器宽度,值单位默认为 px,也支持百分比等单位 ,如:100%'
|
||||
),
|
||||
pipeIn: defaultValue('100%'),
|
||||
},
|
||||
heightSchema: {
|
||||
label: tipedLabel(
|
||||
'高度',
|
||||
'默认高度为父容器高度,值单位默认为 px,也支持百分比等单位 ,如:100%'
|
||||
),
|
||||
pipeIn: defaultValue('100%'),
|
||||
}
|
||||
}),
|
||||
]
|
||||
},
|
||||
getSchemaTpl('style:classNames', {
|
||||
|
Loading…
Reference in New Issue
Block a user