Skip to content

Commit

Permalink
feat(editor): 属性样式添加边框
Browse files Browse the repository at this point in the history
  • Loading branch information
roymondchen committed Jun 26, 2023
1 parent 1660e94 commit 4daf6b4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions packages/editor/src/utils/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: '背景',
Expand Down

0 comments on commit 4daf6b4

Please sign in to comment.