| Jiarenxiang | 38dcb05 | 2025-03-13 16:40:09 +0800 | [diff] [blame] | 1 | declare namespace API { |
| 2 | type RoutersMenuItem = { | ||||
| 3 | alwaysShow?: boolean; | ||||
| 4 | children?: RoutersMenuItem[]; | ||||
| 5 | component?: string; | ||||
| 6 | hidden?: boolean; | ||||
| 7 | meta: MenuItemMeta; | ||||
| 8 | name: string; | ||||
| 9 | path: string; | ||||
| 10 | redirect?: string; | ||||
| 11 | [key: string]: any; | ||||
| 12 | }; | ||||
| 13 | interface GetRoutersResult { | ||||
| 14 | code: number; | ||||
| 15 | msg: string; | ||||
| 16 | data: RoutersMenuItem[]; | ||||
| 17 | } | ||||
| 18 | } | ||||