feat: 更新 DashboardView.vue 中的系统状态文本为 i18n 语言包中的键

- 将系统状态文本替换为动态获取的 i18n 键,以提升多语言支持和一致性。
This commit is contained in:
Wangnov
2025-09-11 18:36:26 +08:00
parent e36bacfd6b
commit 5ea3623736

View File

@@ -200,7 +200,7 @@
{{ t('dashboard.systemStatus') }}
</p>
<p class="text-2xl font-bold text-green-600 sm:text-3xl">
{{ dashboardData.systemStatus }}
{{ t(`common.system.status.${dashboardData.systemStatusCode || 'normal'}`) }}
</p>
<p class="mt-1 text-xs text-gray-500 dark:text-gray-400">
{{ t('dashboard.uptime') }}: {{ formattedUptime }}