Skip to content

Commit

Permalink
chore(projects): synchronize recent changes (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
mufeng889 authored Jun 6, 2024
1 parent e1777b4 commit d53487b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ VITE_ROUTE_HOME=home
VITE_MENU_ICON=mdi:menu

# whether to enable http proxy when is dev mode
VITE_HTTP_PROXY=Y
VITE_HTTP_PROXY=N

# vue-router mode: hash | history | memory
VITE_ROUTER_HISTORY_MODE=history
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"i18n-ally.keystyle": "nested",
"i18n-ally.localesPaths": ["src/locales/langs"],
"prettier.enable": false,
"unocss.root": ["./"]
"unocss.root": ["./"],
"vue.server.hybridMode": false
}
7 changes: 5 additions & 2 deletions src/typings/router.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,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;
/**
Expand Down Expand Up @@ -55,7 +55,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;
/** 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;
/** If set, the route will be fixed in tabs, and the value is the order of fixed tabs */
fixedIndexInTab?: number;
Expand Down

0 comments on commit d53487b

Please sign in to comment.