types.ts 414 B

1234567891011121314151617181920212223
  1. export type RouteConfigs = {
  2. path?: string;
  3. parentPath?: string;
  4. meta?: {
  5. title?: string;
  6. icon?: string;
  7. showLink?: boolean;
  8. savedPosition?: boolean;
  9. };
  10. };
  11. export const routerArrays: Array<RouteConfigs> = [
  12. {
  13. path: "/welcome",
  14. parentPath: "/",
  15. meta: {
  16. title: "message.hshome",
  17. icon: "el-icon-s-home",
  18. showLink: true,
  19. savedPosition: false
  20. }
  21. }
  22. ];