menu.ts 575 B

1234567891011121314151617181920212223242526272829303132333435
  1. /** 菜单列表 */
  2. export type MenuListData = {
  3. id: string;
  4. /** 名字 */
  5. name: string;
  6. /** 父级id */
  7. pid: string;
  8. /** 菜单 */
  9. url: string;
  10. /** 排序 */
  11. orderBy: string;
  12. /** 菜单图标 */
  13. img: string;
  14. };
  15. /** 属性菜单 */
  16. export type TreeMenuListData = {
  17. children: TreeMenuListData[];
  18. key: string;
  19. title: string;
  20. url: string;
  21. pId: string;
  22. };
  23. /** 权限菜单属性 */
  24. export type TreeRoleMenuData = {
  25. id: string;
  26. name: string;
  27. url: string;
  28. pId: string;
  29. page: number;
  30. limit: number;
  31. orderBy: string;
  32. img: string;
  33. };