修复 dashboard title

This commit is contained in:
whyour 2026-06-07 23:45:43 +08:00
parent 23b41893a3
commit 662adc0f9c
5 changed files with 5 additions and 4 deletions

View File

@ -26,7 +26,7 @@ export default {
}, },
{ {
path: '/dashboard', path: '/dashboard',
name: intl.get('统计面板'), name: intl.get('仪表盘'),
icon: <DashboardOutlined />, icon: <DashboardOutlined />,
component: '@/pages/dashboard/index', component: '@/pages/dashboard/index',
}, },

View File

@ -560,7 +560,7 @@
"全局SSH私钥": "Global SSH Private Key", "全局SSH私钥": "Global SSH Private Key",
"用于访问所有私有仓库的全局SSH私钥": "Global SSH private key for accessing all private repositories", "用于访问所有私有仓库的全局SSH私钥": "Global SSH private key for accessing all private repositories",
"请输入完整的SSH私钥内容": "Please enter the complete SSH private key content", "请输入完整的SSH私钥内容": "Please enter the complete SSH private key content",
"统计面板": "Dashboard", "仪表盘": "Dashboard",
"总任务": "Total Tasks", "总任务": "Total Tasks",
"今日执行": "Today Runs", "今日执行": "Today Runs",
"今日成功": "Success", "今日成功": "Success",

View File

@ -560,7 +560,7 @@
"全局SSH私钥": "全局SSH私钥", "全局SSH私钥": "全局SSH私钥",
"用于访问所有私有仓库的全局SSH私钥": "用于访问所有私有仓库的全局SSH私钥", "用于访问所有私有仓库的全局SSH私钥": "用于访问所有私有仓库的全局SSH私钥",
"请输入完整的SSH私钥内容": "请输入完整的SSH私钥内容", "请输入完整的SSH私钥内容": "请输入完整的SSH私钥内容",
"统计面板": "统计面板", "仪表盘": "仪表盘",
"总任务": "总任务", "总任务": "总任务",
"今日执行": "今日执行", "今日执行": "今日执行",
"今日成功": "今日成功", "今日成功": "今日成功",

View File

@ -171,7 +171,7 @@ const Dashboard = () => {
return ( return (
<PageContainer <PageContainer
title={intl.get('统计面板')} title={intl.get('仪表盘')}
header={{ style: headerStyle }} header={{ style: headerStyle }}
className={'ql-container-wrapper dashboard-wrapper'} className={'ql-container-wrapper dashboard-wrapper'}
> >

View File

@ -512,6 +512,7 @@ export default {
'/setting': intl.get('系统设置'), '/setting': intl.get('系统设置'),
'/error': intl.get('错误日志'), '/error': intl.get('错误日志'),
'/dependence': intl.get('依赖管理'), '/dependence': intl.get('依赖管理'),
'/dashboard': intl.get('仪表盘'),
}, },
dependenceTypes: ['nodejs', 'python3', 'linux'], dependenceTypes: ['nodejs', 'python3', 'linux'],
}; };