suyuan/admin/typings/router.d.ts

15 lines
319 B
TypeScript
Raw Permalink Normal View History

2023-11-23 14:33:56 +08:00
import 'vue-router'
declare module 'vue-router' {
// 扩展 RouteMeta
interface RouteMeta {
type?: string
perms?: string
title?: string
icon?: string
hidden?: boolean
activeMenu?: string
hideTab?: boolean
keepAlive?: boolean
}
}