中泽后台管理前端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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