code-origin/pc/typings/router.d.ts

9 lines
160 B
TypeScript
Raw Normal View History

2023-11-08 17:59:25 +08:00
import 'vue-router'
declare module 'vue-router' {
// 扩展 RouteMeta
interface RouteMeta {
module?: string
activeMenu?: string
}
}