Showing
1 changed file
with
1 additions
and
13 deletions
... | ... | @@ -37,19 +37,7 @@ |
37 | 37 | label: '文本字体颜色', |
38 | 38 | component: 'ColorPicker', |
39 | 39 | changeEvent: 'update:value', |
40 | - defaultValue: 14, | |
41 | - componentProps: { | |
42 | - min: 0, | |
43 | - max: 100, | |
44 | - formatter: (e) => { | |
45 | - const value = e?.toString().replace(/^0/g, ''); | |
46 | - if (value) { | |
47 | - return value.replace(/^0/g, ''); | |
48 | - } else { | |
49 | - return 0; | |
50 | - } | |
51 | - }, | |
52 | - }, | |
40 | + defaultValue: option.fontColor, | |
53 | 41 | }, |
54 | 42 | { |
55 | 43 | field: ComponentConfigFieldEnum.FONT_SIZE, | ... | ... |