mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 精简版+动态路由权限初步
This commit is contained in:
10
src/typings/api/route.d.ts
vendored
Normal file
10
src/typings/api/route.d.ts
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
/** 后端返回的路由相关类型 */
|
||||
declare namespace ApiRoute {
|
||||
/** 后端返回的路由数据类型 */
|
||||
interface ResponseRoute {
|
||||
/** 动态路由 */
|
||||
routes: AuthRoute.Route[];
|
||||
/** 路由首页对应的key */
|
||||
home: AuthRoute.RoutePath;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user