This commit is contained in:
2026-06-18 22:56:41 +08:00
parent 3d831650b7
commit db3d030169
15 changed files with 1123 additions and 0 deletions
+6
View File
@@ -175,6 +175,12 @@ const routes: RouteRecordRaw[] = [
component: () => import('@/views/admin/AgentKindEditView.vue'),
meta: { requiresAuth: true, requiresAdmin: true },
},
{
path: '/admin/terminal',
name: 'admin-terminal',
component: () => import('@/views/admin/AdminTerminalView.vue'),
meta: { requiresAuth: true, requiresAdmin: true },
},
{
// 兜底:匹配不到的路径(如空参数的 /p/x/w/、手输错误 URL)统一回首页,避免白屏
path: '/:pathMatch(.*)*',