fix: 🐛 ts 类型报错问题修复
Former-commit-id: a3426ee43f076f6eb216289fc307cc02a910426a
This commit is contained in:
2
types/router.d.ts
vendored
2
types/router.d.ts
vendored
@@ -5,7 +5,7 @@ declare module "vue-router" {
|
||||
// 可以通过扩展 RouteMeta 接口来输入 meta 字段
|
||||
interface RouteMeta {
|
||||
/** 菜单名称 */
|
||||
title: string;
|
||||
title?: string;
|
||||
/** 菜单图标 */
|
||||
icon?: string;
|
||||
/** 菜单是否隐藏 */
|
||||
|
||||
Reference in New Issue
Block a user