2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 11:27:17 +08:00

fix: test

This commit is contained in:
耗子
2024-10-20 22:29:25 +08:00
parent 2828795fb0
commit f182eab2dc
6 changed files with 12 additions and 84 deletions

View File

@@ -24,6 +24,6 @@ const proxyConfigMappings: Record<ProxyType, ProxyConfig> = {
]
}
export function getProxyConfig(envType: ProxyType = 'dev'): ProxyConfig {
export function getProxyConfigs(envType: ProxyType = 'dev'): ProxyConfig[] {
return proxyConfigMappings[envType]
}

View File

@@ -155,42 +155,6 @@
}
}
},
"taskIndex": {
"title": "Tasks",
"alerts": {
"delete": "Task has been deleted"
},
"buttons": {
"delete": "delete",
"log": "log",
"undelete": "undelete"
},
"confirm": {
"delete": "Are you sure you want to delete the task?"
},
"columns": {
"name": "task name",
"status": "status",
"createdAt": "created at",
"updatedAt": "updated at",
"actions": "actions"
},
"options": {
"status": {
"finished": "finished",
"waiting": "waiting",
"failed": "failed",
"running": "running"
}
},
"logModal": {
"title": "Task log",
"autoRefresh": {
"on": "Auto refresh on",
"off": "Auto refresh off"
}
}
},
"websiteIndex": {
"title": "Websites",
"columns": {

View File

@@ -1,16 +1,16 @@
{
"name": "耗子面板",
"certIndex": {
"title": "HTTPS 证书"
"title": "证书"
},
"containerIndex": {
"title": "容器管理"
"title": "容器"
},
"cronIndex": {
"title": "计划任务"
},
"fileIndex": {
"title": "文件管理"
"title": "文件"
},
"homeUpdate": {
"title": "更新面板",
@@ -33,10 +33,10 @@
}
},
"monitorIndex": {
"title": "资源监控"
"title": "监控"
},
"appIndex": {
"title": "应用中心",
"title": "应用",
"alerts": {
"cache": "缓存更新成功",
"warning": "更新应用前强烈建议先备份/快照,以免出现问题时无法回滚!",
@@ -65,7 +65,7 @@
}
},
"settingIndex": {
"title": "面板设置",
"title": "设置",
"info": "修改面板端口 / 入口后,需要在浏览器地址栏做相应修改方可打开面板!",
"edit": {
"toasts": {
@@ -127,7 +127,7 @@
}
},
"sshIndex": {
"title": "SSH 终端",
"title": "终端",
"alerts": {
"save": "保存成功"
},
@@ -155,44 +155,8 @@
}
}
},
"taskIndex": {
"title": "后台任务",
"alerts": {
"delete": "任务已删除"
},
"buttons": {
"delete": "删除",
"log": "日志",
"undelete": "取消删除"
},
"confirm": {
"delete": "确定删除此任务记录吗?"
},
"columns": {
"name": "任务名",
"status": "状态",
"createdAt": "创建时间",
"updatedAt": "更新时间",
"actions": "操作"
},
"options": {
"status": {
"finished": "已完成",
"waiting": "等待中",
"failed": "已失败",
"running": "运行中"
}
},
"logModal": {
"title": "任务日志",
"autoRefresh": {
"on": "自动刷新开启",
"off": "自动刷新关闭"
}
}
},
"websiteIndex": {
"title": "网站管理",
"title": "网站",
"columns": {
"name": "网站名",
"status": "运行",

View File

@@ -15,7 +15,7 @@ export default {
path: '',
component: () => import('./IndexView.vue'),
meta: {
title: '数据备份',
title: '备份',
icon: 'mdi:backup-outline',
role: ['admin'],
requireAuth: true

View File

@@ -15,7 +15,7 @@ export default {
path: '',
component: () => import('./IndexView.vue'),
meta: {
title: '系统安全',
title: '安全',
icon: 'mdi:shield-check-outline',
role: ['admin'],
requireAuth: true

View File

@@ -15,7 +15,7 @@ export default {
path: '',
component: () => import('./IndexView.vue'),
meta: {
title: 'taskIndex.title',
title: '任务',
icon: 'mdi:table-sync',
role: ['admin'],
requireAuth: true