diff --git a/src/components/common/FormItem.vue b/src/components/common/FormItem.vue index cca3fe276..7f70ea3bf 100644 --- a/src/components/common/FormItem.vue +++ b/src/components/common/FormItem.vue @@ -1,7 +1,7 @@ - + {{ props.item.name }} ('formValue') -const props = withDefaults( - defineProps<{ - item: FormItem - id: string | undefined - }>(), - { - id: undefined - } -) +const props = defineProps<{ + item: FormItem + id?: string + labelClass?: string | Record +}>() function getFormAttrs(item: FormItem) { const attrs = { ...(item.attrs || {}) } diff --git a/src/components/dialog/content/setting/ServerConfigPanel.vue b/src/components/dialog/content/setting/ServerConfigPanel.vue index 06c1b349e..be334d728 100644 --- a/src/components/dialog/content/setting/ServerConfigPanel.vue +++ b/src/components/dialog/content/setting/ServerConfigPanel.vue @@ -1,4 +1,27 @@ + + + {{ $t('serverConfig.modifiedConfigs') }} + + + + {{ config.name }}: {{ config.initialValue }} → {{ config.value }} + + + + + + + {{ formatCamelCase(label) }} - +
+ {{ $t('serverConfig.modifiedConfigs') }} +