feat: add 'maxNumOfOpenTab' to limit the maximum number of tabs with the same name

This commit is contained in:
vben
2024-07-20 11:14:32 +08:00
parent bcd5e49117
commit 480580f104
10 changed files with 92 additions and 3 deletions
+5
View File
@@ -85,6 +85,11 @@ interface RouteMeta {
* 路由是否已经加载过
*/
loaded?: boolean;
/**
* 标签页最大打开数量
* @default false
*/
maxNumOfOpenTab?: number;
/**
* 菜单可以看到,但是访问会被重定向到403
*/