Commit eba9e51c88728b95f6c8dbcc3e149539fd6d508e

Authored by xp.Huang
2 parents 21b6cebe c7b04f73

Merge branch 'cherry-pick-90c541f9' into 'main'

fix: 修复看板组件湿度符号不对应

See merge request yunteng/thingskit-front!1409
... ... @@ -24,7 +24,7 @@ export const option: PublicPresetOptions = {
24 24 [ComponentConfigFieldEnum.SHOW_DEVICE_NAME]: false,
25 25 [ComponentConfigFieldEnum.MAX_NUMBER]: 100,
26 26 [ComponentConfigFieldEnum.SHOW_TIME]: false,
27   - [ComponentConfigFieldEnum.UNIT]: '',
  27 + [ComponentConfigFieldEnum.UNIT]: '%RH',
28 28 [ComponentConfigFieldEnum.POINTER_COLOR]: '#15E2C6',
29 29 [ComponentConfigFieldEnum.INSTRUMENT_PANEL_COLOR]: '#61D4C5',
30 30 [ComponentConfigFieldEnum.FONT_SIZE]: 14,
... ...
... ... @@ -22,7 +22,7 @@ export const option: PublicPresetOptions = {
22 22 [ComponentConfigFieldEnum.SHOW_DEVICE_NAME]: false,
23 23 [ComponentConfigFieldEnum.SHOW_TIME]: false,
24 24 [ComponentConfigFieldEnum.PROGRESS_BAR_CIRCLE]: false,
25   - [ComponentConfigFieldEnum.UNIT]: '',
  25 + [ComponentConfigFieldEnum.UNIT]: '%RH',
26 26 [ComponentConfigFieldEnum.POINTER_COLOR]: '#15E2C6',
27 27 [ComponentConfigFieldEnum.INSTRUMENT_PANEL_COLOR]: '#61D4C5',
28 28 [ComponentConfigFieldEnum.MAX_NUMBER]: 100,
... ...
... ... @@ -22,7 +22,7 @@ export const option: PublicPresetOptions = {
22 22 [ComponentConfigFieldEnum.SHOW_DEVICE_NAME]: false,
23 23 [ComponentConfigFieldEnum.SHOW_TIME]: false,
24 24 [ComponentConfigFieldEnum.MAX_NUMBER]: 100,
25   - [ComponentConfigFieldEnum.UNIT]: 'kw',
  25 + [ComponentConfigFieldEnum.UNIT]: 'kw/h',
26 26 [ComponentConfigFieldEnum.FONT_SIZE]: 14,
27 27 [ComponentConfigFieldEnum.VALUE_SIZE]: 14,
28 28 };
... ...
... ... @@ -50,7 +50,7 @@
50 50 value: 66,
51 51 fontColor: '#1E8667',
52 52 backgroundColor: '#1E8667',
53   - unit: '',
  53 + unit: '%RH',
54 54 deviceName: '温湿度',
55 55 attribute: '湿度',
56 56 id: buildUUID(),
... ...
... ... @@ -74,7 +74,7 @@
74 74 deviceName: '温湿度',
75 75 attributeName: '湿度',
76 76 icon: 'guangzhaoqiangdu',
77   - unit: '',
  77 + unit: '%RH',
78 78 iconColor: '#FFA000',
79 79 fontColor: '#FFA000',
80 80 fontSize: 16,
... ...