设置菜单增加Harbor后台入口

This commit is contained in:
BBIT-Kai
2025-10-14 09:14:43 +08:00
parent c1f4386747
commit 111be55c1d
4 changed files with 59 additions and 38 deletions
@@ -1,9 +1,8 @@
import type { RouteRecordRaw } from 'vue-router';
import { IFrameView } from '#/layouts';
import { $t } from '#/locales';
const IFrameView = () => import('@vben/layouts').then((m) => m.IFrameView);
const routes: RouteRecordRaw[] = [
{
meta: {
@@ -71,6 +70,17 @@ const routes: RouteRecordRaw[] = [
title: 'RabbitMQ后台',
},
},
{
name: 'Harbor-webui',
path: '/set/Harbor',
component: IFrameView,
meta: {
icon: 'mdi:monitor-dashboard',
link: 'http://10.10.10.9:13011',
keepAlive: true,
title: 'Harbor后台',
},
},
],
},
];