feat 搭建架构骨架
This commit is contained in:
11
src/types/router.d.ts
vendored
Normal file
11
src/types/router.d.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// RouteMeta 扩展
|
||||
export {}
|
||||
|
||||
declare module 'vue-router' {
|
||||
interface RouteMeta {
|
||||
/** 页面标题(document.title) */
|
||||
title?: string
|
||||
/** 是否需要登录 */
|
||||
requiresAuth?: boolean
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user