feat(projects): 新增静态路由

This commit is contained in:
Soybean
2022-03-30 01:19:37 +08:00
parent bbfdcc8276
commit ca2dfa6185
34 changed files with 1591 additions and 1875 deletions

View File

@@ -1,13 +1,13 @@
/** 用户相关模块 */
declare namespace Auth {
/**
* 用户角色类型
* - super: 超级管理员
* 用户角色类型(前端静态路由用角色类型进行路由权限的控制)
* - super: 超级管理员(该权限具有所有路由数据)
* - admin: 管理员
* - test: 测试
* - visitor: 游客
* - normal: 普通用户
*/
type RoleType = 'super' | 'admin' | 'test' | 'visitor';
type RoleType = 'super' | 'admin' | 'test' | 'normal';
/** 用户信息 */
interface UserInfo {