This commit is contained in:
BBIT-Kai
2025-10-22 13:54:10 +08:00
parent e81b2e9c20
commit 64262c4432
9 changed files with 144 additions and 164 deletions
+4 -2
View File
@@ -9,7 +9,7 @@ export const overridesPreferences = defineOverridesPreferences({
// overrides
app: {
name: import.meta.env.VITE_APP_TITLE,
layout: 'sidebar-mixed-nav',
layout: 'header-sidebar-nav',
defaultHomePath: '/workspace', // 默认首页路径
enablePreferences: false, // 是否启用偏好设置
loginExpiredMode: 'page', // 登录过期模式 不用弹窗登录 跳转到页面登录,防止一些界面不会再加载
@@ -21,6 +21,7 @@ export const overridesPreferences = defineOverridesPreferences({
breadcrumb: {
hideOnlyOne: true,
styleType: 'normal',
showHome: true,
},
copyright: {
enable: false,
@@ -31,7 +32,7 @@ export const overridesPreferences = defineOverridesPreferences({
sidebar: {
collapsed: false,
fixedButton: true,
width: 170,
width: 190,
},
transition: {
name: 'fade-up',
@@ -40,6 +41,7 @@ export const overridesPreferences = defineOverridesPreferences({
lockScreen: false,
notification: false,
languageToggle: false,
themeToggle: false,
},
navigation: {
accordion: false,
@@ -22,7 +22,7 @@ const routes: RouteRecordRaw[] = [
meta: {
icon: 'mdi:monitor-dashboard',
link: 'http://10.10.10.9:8002/',
title: 'Kong后台',
title: '网关',
},
},
{
@@ -32,7 +32,7 @@ const routes: RouteRecordRaw[] = [
meta: {
icon: 'mdi:monitor-dashboard',
link: 'http://10.10.10.9:9001',
title: 'MinIO后台',
title: '对象存储',
},
},
{
@@ -42,7 +42,7 @@ const routes: RouteRecordRaw[] = [
meta: {
icon: 'mdi:monitor-dashboard',
link: 'http://10.10.10.9:9091/webui',
title: 'Milvus后台',
title: '向量数据库',
},
},
{
@@ -52,7 +52,7 @@ const routes: RouteRecordRaw[] = [
meta: {
icon: 'mdi:monitor-dashboard',
link: 'http://10.10.10.9:3000/',
title: 'Milvus Attu后台',
title: '向量数据库Attu',
},
},
{
@@ -62,7 +62,7 @@ const routes: RouteRecordRaw[] = [
meta: {
icon: 'mdi:monitor-dashboard',
link: 'http://10.10.10.9:15672',
title: 'RabbitMQ后台',
title: '消息队列',
},
},
{
@@ -72,7 +72,7 @@ const routes: RouteRecordRaw[] = [
meta: {
icon: 'mdi:monitor-dashboard',
link: 'http://10.10.10.9:13011',
title: 'Harbor后台',
title: '容器管理',
},
},
{
@@ -82,7 +82,7 @@ const routes: RouteRecordRaw[] = [
meta: {
icon: 'mdi:monitor-dashboard',
link: 'http://10.10.10.9:9090',
title: 'Prometheus后台',
title: '日志监控',
},
},
{
@@ -92,7 +92,7 @@ const routes: RouteRecordRaw[] = [
meta: {
icon: 'mdi:monitor-dashboard',
link: 'http://10.10.10.9:3001',
title: 'Grafana后台',
title: '数据可视化',
},
},
],