feat(editor): 属性样式添加边框

This commit is contained in:
roymondchen 2023-06-26 17:04:25 +08:00
parent 1660e941d7
commit 4daf6b4410

View File

@ -105,6 +105,38 @@ export const fillConfig = (config: FormConfig = []) => [
},
],
},
{
type: 'fieldset',
legend: '边框',
items: [
{
name: 'borderWidth',
text: '宽度',
},
{
name: 'borderColor',
text: '颜色',
type: 'colorPicker',
},
{
name: 'borderStyle',
text: '样式',
type: 'select',
options: [
{ text: 'none', value: 'none' },
{ text: 'hidden', value: 'hidden' },
{ text: 'dotted', value: 'dotted' },
{ text: 'dashed', value: 'dashed' },
{ text: 'solid', value: 'solid' },
{ text: 'double', value: 'double' },
{ text: 'groove', value: 'groove' },
{ text: 'ridge', value: 'ridge' },
{ text: 'inset', value: 'inset' },
{ text: 'outset', value: 'outset' },
],
},
],
},
{
type: 'fieldset',
legend: '背景',