fastEnter.ts 636 B

123456789101112131415161718192021222324252627282930
  1. /**
  2. * 快速入口配置(已裁剪为当前工程实际存在的路由)
  3. */
  4. import { WEB_LINKS } from '@/utils/constants'
  5. import type { FastEnterConfig } from '@/types/config'
  6. const fastEnterConfig: FastEnterConfig = {
  7. minWidth: 1200,
  8. applications: [
  9. {
  10. name: '官方文档',
  11. description: '使用指南与开发文档',
  12. icon: 'tickets',
  13. iconColor: '#ffb100',
  14. enabled: true,
  15. order: 1,
  16. link: WEB_LINKS.DOCS
  17. }
  18. ],
  19. quickLinks: [
  20. {
  21. name: '登录',
  22. enabled: true,
  23. order: 1,
  24. routeName: 'Login'
  25. }
  26. ]
  27. }
  28. export default Object.freeze(fastEnterConfig)