feat 完善注释
This commit is contained in:
9
src/types/router.d.ts
vendored
9
src/types/router.d.ts
vendored
@@ -1,18 +1,9 @@
|
||||
// RouteMeta 扩展
|
||||
export {}
|
||||
|
||||
declare module 'vue-router' {
|
||||
interface RouteMeta {
|
||||
/** 页面标题(document.title) */
|
||||
title?: string
|
||||
/** 是否需要登录 */
|
||||
requiresAuth?: boolean
|
||||
/**
|
||||
* 是否展示公共底栏(AppFooter)。
|
||||
*
|
||||
* <p>默认不展示:底栏信息量大、只在门户首页作为站点信息区出现,
|
||||
* 其余页面(列表/详情/登录区)不渲染,避免干扰正文。</p>
|
||||
*/
|
||||
footer?: boolean
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user