fix: 🐛 ts 类型报错问题修复

Former-commit-id: a3426ee43f076f6eb216289fc307cc02a910426a
This commit is contained in:
hxr
2023-11-19 00:04:12 +08:00
parent b9a0fd51cf
commit d61f7419ba
2 changed files with 2 additions and 2 deletions

2
types/router.d.ts vendored
View File

@@ -5,7 +5,7 @@ declare module "vue-router" {
// 可以通过扩展 RouteMeta 接口来输入 meta 字段
interface RouteMeta {
/** 菜单名称 */
title: string;
title?: string;
/** 菜单图标 */
icon?: string;
/** 菜单是否隐藏 */