mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-08-29 03:46:00 +08:00
feat(editor): 属性样式添加边框
This commit is contained in:
parent
1660e941d7
commit
4daf6b4410
@ -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: '背景',
|
||||
|
Loading…
x
Reference in New Issue
Block a user