feat: menu routing support opens in a new window (#4715)
This commit is contained in:
@@ -384,6 +384,10 @@ interface RouteMeta {
|
||||
* The menu is visible, but access will be redirected to 403
|
||||
*/
|
||||
menuVisibleWithForbidden?: boolean;
|
||||
/**
|
||||
* Open in a new window
|
||||
*/
|
||||
openInNewWindow?: boolean;
|
||||
/**
|
||||
* Used for route->menu sorting
|
||||
*/
|
||||
|
@@ -382,6 +382,10 @@ interface RouteMeta {
|
||||
* 菜单可以看到,但是访问会被重定向到403
|
||||
*/
|
||||
menuVisibleWithForbidden?: boolean;
|
||||
/**
|
||||
* 在新窗口打开
|
||||
*/
|
||||
openInNewWindow?: boolean;
|
||||
/**
|
||||
* 用于路由->菜单排序
|
||||
*/
|
||||
@@ -539,6 +543,13 @@ interface RouteMeta {
|
||||
|
||||
用于配置页面在菜单可以看到,但是访问会被重定向到403。
|
||||
|
||||
### openInNewWindow
|
||||
|
||||
- 类型:`boolean`
|
||||
- 默认值:`false`
|
||||
|
||||
设置为 `true` 时,会在新窗口打开页面。
|
||||
|
||||
### order
|
||||
|
||||
- 类型:`number`
|
||||
|
Reference in New Issue
Block a user