feat(route): 添加字典详情页面路由配置

- 在静态路由中新增字典数据详情页面路由
- 设置为隐藏菜单,仅用于路由跳转
- 配置路由权限要求和页面组件路径
This commit is contained in:
Leo 2025-09-26 16:34:16 +08:00
parent 4bd079c4c2
commit 72ff02f89c

View File

@ -1,4 +1,16 @@
export const staticRoutes: AppRoute.RowRoute[] = [ export const staticRoutes: AppRoute.RowRoute[] = [
{
name: 'dict-data',
path: '/system/dict/data',
title: '字典数据详情',
requiresAuth: true,
icon: 'icon-park-outline:table-file',
menuType: '2',
componentPath: 'system/dict/data',
id: 1001,
pid: null,
hide: true, // 隐藏在菜单中,只用于路由跳转
},
// { // {
// name: 'personal-center', // name: 'personal-center',
// path: '/personal-center', // path: '/personal-center',