optimize(projects): optimize RouteMeta remarks
This commit is contained in:
parent
e6086f0f35
commit
ffb48b15bc
7
src/typings/router.d.ts
vendored
7
src/typings/router.d.ts
vendored
@ -27,7 +27,7 @@ declare module 'vue-router' {
|
||||
/**
|
||||
* Is constant route
|
||||
*
|
||||
* Does not need to login, and the route is defined in the front-end
|
||||
* when it is set to true, there will be no login verification and no permission verification to access the route
|
||||
*/
|
||||
constant?: boolean | null;
|
||||
/**
|
||||
@ -57,7 +57,10 @@ declare module 'vue-router' {
|
||||
* the route is "user_detail", if it is set to "user_list", the menu "user_list" will be activated
|
||||
*/
|
||||
activeMenu?: import('@elegant-router/types').RouteKey | null;
|
||||
/** By default, the same route path will use one tab, if set to true, it will use multiple tabs */
|
||||
/**
|
||||
* By default, the same route path will use one tab, even with different query, if set true, the route with
|
||||
* different query will use different tabs
|
||||
*/
|
||||
multiTab?: boolean | null;
|
||||
/** If set, the route will be fixed in tabs, and the value is the order of fixed tabs */
|
||||
fixedIndexInTab?: number | null;
|
||||
|
Loading…
Reference in New Issue
Block a user