feat(playground): 增加字体样式配置

This commit is contained in:
roymondchen 2022-05-05 20:27:49 +08:00 committed by jia000
parent 56375b0fb0
commit f7bca02844

View File

@ -142,6 +142,25 @@ export const fillConfig = (config: FormConfig = []) => [
},
],
},
{
type: 'fieldset',
legend: '字体',
items: [
{
name: 'color',
text: '颜色',
type: 'colorPicker',
},
{
name: 'fontSize',
text: '大小',
},
{
name: 'fontWeight',
text: '粗细',
},
],
},
],
},
],