vue-router.d.ts 370 B

1234567891011121314
  1. import type { RouteParamsGeneric } from 'vue-router'
  2. declare module 'vue-router' {
  3. interface RouteMeta {
  4. componentName?: string
  5. pinned?: boolean
  6. label?: string
  7. icon?: string
  8. showTab?: boolean
  9. enableMultiTab?: boolean
  10. renderTabLabel?: (params: RouteParamsGeneric) => string
  11. env?: 'prod' | 'test' // 故障录波页面所属环境
  12. }
  13. }