feat: add noBasicLayout in route meta (#5386)

所有菜单数据无需配置component为BasicLayout,它们将会默认使用基础布局,也可以通过meta.noBasicLayout来阻止这一行为
This commit is contained in:
Netfan
2025-01-14 12:12:08 +08:00
committed by GitHub
parent 42e322012c
commit 1ad54561b0
22 changed files with 128 additions and 84 deletions

View File

@@ -97,6 +97,10 @@ interface RouteMeta {
* 菜单可以看到但是访问会被重定向到403
*/
menuVisibleWithForbidden?: boolean;
/**
* 不使用基础布局(仅在顶级生效)
*/
noBasicLayout?: boolean;
/**
* 在新窗口打开
*/