mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 17:31:18 +08:00
去掉字段名: amis-saas-6022 [Improvement.] [按钮工具栏] 按钮工具栏的字段名
Change-Id: Ie5ea758f3e83319c589a7ab45b49726f1cf318d6
This commit is contained in:
parent
bfe7229e7c
commit
8d96790f07
@ -22,6 +22,7 @@ export class ButtonToolbarControlPlugin extends BasePlugin {
|
||||
tags = ['表单项', '按钮'];
|
||||
scaffold = {
|
||||
type: 'button-toolbar',
|
||||
label: '按钮工具栏',
|
||||
buttons: [
|
||||
{
|
||||
type: 'button',
|
||||
@ -40,8 +41,7 @@ export class ButtonToolbarControlPlugin extends BasePlugin {
|
||||
wrapWithPanel: false,
|
||||
mode: 'horizontal',
|
||||
body: {
|
||||
...this.scaffold,
|
||||
label: '按钮工具栏'
|
||||
...this.scaffold
|
||||
}
|
||||
};
|
||||
|
||||
@ -70,15 +70,7 @@ export class ButtonToolbarControlPlugin extends BasePlugin {
|
||||
{
|
||||
title: '基本',
|
||||
body: [
|
||||
getSchemaTpl('formItemName', {
|
||||
required: true
|
||||
}),
|
||||
getSchemaTpl('label'),
|
||||
getSchemaTpl('valueFormula', {
|
||||
rendererSchema: {
|
||||
type: 'input-text'
|
||||
}
|
||||
}),
|
||||
getSchemaTpl('labelRemark'),
|
||||
getSchemaTpl('remark'),
|
||||
getSchemaTpl('description'),
|
||||
@ -108,9 +100,7 @@ export class ButtonToolbarControlPlugin extends BasePlugin {
|
||||
}),
|
||||
]
|
||||
},
|
||||
getSchemaTpl('status', {
|
||||
isFormItem: true,
|
||||
})
|
||||
getSchemaTpl('status')
|
||||
]),
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user