中泽后台管理前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

route.d.ts 370B

123456789101112131415161718
  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. }