Showing
2 changed files
with
7 additions
and
0 deletions
| @@ -34,6 +34,12 @@ | @@ -34,6 +34,12 @@ | ||
| 34 | }, | 34 | }, |
| 35 | }, | 35 | }, |
| 36 | { | 36 | { |
| 37 | + field: ComponentConfigFieldEnum.SHOW_DEVICE_NAME, | ||
| 38 | + label: '显示设备名称', | ||
| 39 | + component: 'Checkbox', | ||
| 40 | + defaultValue: option.showDeviceName, | ||
| 41 | + }, | ||
| 42 | + { | ||
| 37 | field: ComponentConfigFieldEnum.SHOW_TIME, | 43 | field: ComponentConfigFieldEnum.SHOW_TIME, |
| 38 | label: '显示时间', | 44 | label: '显示时间', |
| 39 | component: 'Checkbox', | 45 | component: 'Checkbox', |
| @@ -20,6 +20,7 @@ | @@ -20,6 +20,7 @@ | ||
| 20 | 20 | ||
| 21 | const getDesign = computed(() => { | 21 | const getDesign = computed(() => { |
| 22 | const { persetOption = {}, option } = props.config; | 22 | const { persetOption = {}, option } = props.config; |
| 23 | + console.log(props.config, 'config'); | ||
| 23 | const { | 24 | const { |
| 24 | openColor: persetOpenColor, | 25 | openColor: persetOpenColor, |
| 25 | closeColor: persetCloseColor, | 26 | closeColor: persetCloseColor, |