Commit 2a01162a438db9127775df2ab41b136486e4ae79

Authored by loveumiko
1 parent 6e644c78

fix: 修复看板文本文字大小点击加减时会消失的问题

... ... @@ -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,
... ...