feat: add tabs demo
This commit is contained in:
@@ -49,7 +49,7 @@ const tabsView = computed((): TabConfig[] => {
|
||||
: true,
|
||||
icon: tab.meta.icon as string,
|
||||
key: tab.fullPath || tab.path,
|
||||
title: (tab.meta?.title || tab.name) as string,
|
||||
title: (tab.meta?.newTabTitle || tab.meta?.title || tab.name) as string,
|
||||
};
|
||||
});
|
||||
});
|
||||
|
@@ -50,7 +50,7 @@ const tabsView = computed((): TabConfig[] => {
|
||||
: true,
|
||||
icon: tab.meta.icon as string,
|
||||
key: tab.fullPath || tab.path,
|
||||
title: (tab.meta?.title || tab.name) as string,
|
||||
title: (tab.meta?.newTabTitle || tab.meta?.title || tab.name) as string,
|
||||
};
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user