mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-06 04:09:36 +00:00
feat 路由和菜单对接
This commit is contained in:
2
types/config.d.ts
vendored
2
types/config.d.ts
vendored
@@ -159,4 +159,6 @@ export interface GlobEnvConfig {
|
||||
VITE_GLOB_APP_SHORT_NAME: string
|
||||
// Upload url
|
||||
VITE_GLOB_UPLOAD_URL?: string
|
||||
// 终端类型
|
||||
VITE_GLOB_APP_CLIENT?: string
|
||||
}
|
||||
|
19
types/vue-router.d.ts
vendored
19
types/vue-router.d.ts
vendored
@@ -3,24 +3,25 @@ export {}
|
||||
declare module 'vue-router' {
|
||||
interface RouteMeta extends Record<string | number | symbol, unknown> {
|
||||
orderNo?: number
|
||||
// title
|
||||
// 标题
|
||||
title: string
|
||||
// dynamic router level.
|
||||
// 动态路由器级别。
|
||||
dynamicLevel?: number
|
||||
// dynamic router real route path (For performance).
|
||||
// 动态路由器真实路由路径 (用于性能)。
|
||||
realPath?: string
|
||||
// Whether to ignore permissions
|
||||
// 是否忽略鉴权
|
||||
ignoreAuth?: boolean
|
||||
// role info
|
||||
// 角色
|
||||
roles?: RoleEnum[]
|
||||
// Whether not to cache
|
||||
// 是否不缓存
|
||||
ignoreKeepAlive?: boolean
|
||||
// Is it fixed on tab
|
||||
// 它固定在tab上吗
|
||||
affix?: boolean
|
||||
// icon on tab
|
||||
// 图标
|
||||
icon?: string
|
||||
// Iframe 打开的连接
|
||||
frameSrc?: string
|
||||
// current page transition
|
||||
// current page transition 当前页面转换
|
||||
transitionName?: string
|
||||
// Whether the route has been dynamically added
|
||||
hideBreadcrumb?: boolean
|
||||
|
Reference in New Issue
Block a user