Files
role-admin/src/router/modules/home.ts
T
湛兮 a611045db2 feat(digital): 新增数字人内容库和实验运营后台
数字人内容库支持角色、世界书和预设管理;账号实验中心覆盖生命周期、指定用户、分组解释、漏斗和审计;更新星港品牌与默认导航,保留原兼容路由。
2026-10-27 10:25:51 +08:00

32 lines
713 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const Layout = () => import("@/layout/index.vue");
/**
* pure-admin 模板要求保留 Home 根路由。
*
* 当前业务首页是数字人内容库,所以根路径直接重定向到 `/digital/content`;
* `/welcome` 只作为隐藏工作台占位页保留。
*/
export default {
path: "/",
name: "Home",
component: Layout,
redirect: "/digital/content",
meta: {
icon: "ep/home-filled",
title: "工作台",
showLink: false,
rank: 0
},
children: [
{
path: "/welcome",
name: "Welcome",
component: () => import("@/views/welcome/index.vue"),
meta: {
title: "工作台",
showLink: false
}
}
]
} satisfies RouteConfigsTable;