Skip to content

Commit

Permalink
optimize(projects): optimize RouteMeta remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Jun 6, 2024
1 parent e6086f0 commit ffb48b1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/typings/router.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ffb48b1

Please sign in to comment.