This commit is contained in:
dap 2024-08-23 08:08:08 +08:00
commit f0447d0b8c
7 changed files with 6 additions and 5 deletions

View File

@ -56,7 +56,8 @@
"*.ejs": "html",
"*.art": "html",
"**/tsconfig.json": "jsonc",
"*.json": "jsonc"
"*.json": "jsonc",
"package.json": "json"
},
"files.exclude": {

View File

@ -293,7 +293,6 @@ interface RouteMeta {
activeIcon?: string;
/**
* 当前激活的菜单,有时候不想激活现有菜单,需要激活父级菜单时使用
* @default false
*/
activePath?: string;
/**

View File

@ -4,7 +4,7 @@
## 编写测试用例
在项目中,我们约定将测试文件名以 `.test.ts` 结尾,或者存放到`__tests__`目录内。例如,创建一个 `utils.ts` 文件,然后同级目录`utils.spec.ts` 文件,
在项目中,我们约定将测试文件名以 `.test.ts` 结尾,或者存放到`__tests__`目录内。例如,创建一个 `utils.ts` 文件,然后同级目录`utils.test.ts` 文件,
```ts
// utils.test.ts

View File

@ -9,7 +9,6 @@ interface RouteMeta {
activeIcon?: string;
/**
* 使
* @default false
*/
activePath?: string;
/**

View File

@ -42,6 +42,7 @@ async function generateAccessible(
/**
* Generate routes
* @param mode
* @param options
*/
async function generateRoutes(
mode: AccessModeType,

View File

@ -3,5 +3,5 @@
### header
- 支持N个自定义插槽命名方式header-right-nheader-left-n
- header-left-n 排序方式1-5 ,breadcrumb6-x
- header-left-n 排序方式1-4 ,breadcrumb6-x
- header-right-n 排序方式1-4global-search6-9theme-toggle11-14language-toggle16-19fullscreen21-24notification26-29user-dropdown30-x

View File

@ -24,6 +24,7 @@ export const useAuthStore = defineStore('auth', () => {
*
* Asynchronously handle the login process
* @param params
* @param onSuccess
*/
async function authLogin(
params: LoginAndRegisterParams,