表单构建布局型组件新增按钮

This commit is contained in:
RuoYi
2020-10-03 17:47:24 +08:00
parent 0d79f10c2f
commit 669c42795a
4 changed files with 42 additions and 0 deletions

View File

@ -406,6 +406,21 @@ export const layoutComponents = [
layoutTree: true,
children: [],
document: 'https://element.eleme.cn/#/zh-CN/component/layout'
},
{
layout: 'colFormItem',
label: '按钮',
changeTag: true,
labelWidth: null,
tag: 'el-button',
tagIcon: 'button',
span: 24,
default: '主要按钮',
type: 'primary',
icon: 'el-icon-search',
size: 'medium',
disabled: false,
document: 'https://element.eleme.cn/#/zh-CN/component/button'
}
]