mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-13 04:39:41 +00:00
refactor: 迁移前端资源文件至web目录 feat: 新增多种图标资源 style: 统一代码风格和格式化配置 docs: 更新README和文档说明 chore: 更新依赖和配置文件 fix: 修复部分类型定义和枚举 perf: 优化路由和组件加载逻辑
10 lines
390 B
TypeScript
10 lines
390 B
TypeScript
// 权限文档:https://www.artd.pro/docs/zh/guide/in-depth/permission.html
|
|
import { AppRouteRecord } from '@/types/router';
|
|
import { routeModules } from '../modules';
|
|
|
|
/**
|
|
* 动态路由(需要权限才能访问的路由)
|
|
* 用于渲染菜单以及根据菜单权限动态加载路由,如果没有权限无法访问
|
|
*/
|
|
export const asyncRoutes: AppRouteRecord[] = routeModules;
|