parent
b9a0fd51cf
commit
d61f7419ba
|
|
@ -185,7 +185,7 @@ function moveToCurrentTag() {
|
|||
if (tag.fullPath !== route.fullPath) {
|
||||
tagsViewStore.updateVisitedView({
|
||||
name: route.name as string,
|
||||
title: route.meta.title,
|
||||
title: route.meta.title || "",
|
||||
path: route.path,
|
||||
fullPath: route.fullPath,
|
||||
affix: route.meta?.affix,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ declare module "vue-router" {
|
|||
// 可以通过扩展 RouteMeta 接口来输入 meta 字段
|
||||
interface RouteMeta {
|
||||
/** 菜单名称 */
|
||||
title: string;
|
||||
title?: string;
|
||||
/** 菜单图标 */
|
||||
icon?: string;
|
||||
/** 菜单是否隐藏 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue