diff --git a/docs/src/guide/essentials/route.md b/docs/src/guide/essentials/route.md index 29fa298b..51da3d72 100644 --- a/docs/src/guide/essentials/route.md +++ b/docs/src/guide/essentials/route.md @@ -293,7 +293,6 @@ interface RouteMeta { activeIcon?: string; /** * 当前激活的菜单,有时候不想激活现有菜单,需要激活父级菜单时使用 - * @default false */ activePath?: string; /** diff --git a/packages/@core/base/typings/src/vue-router.d.ts b/packages/@core/base/typings/src/vue-router.d.ts index ba6407d7..87349cd7 100644 --- a/packages/@core/base/typings/src/vue-router.d.ts +++ b/packages/@core/base/typings/src/vue-router.d.ts @@ -9,7 +9,6 @@ interface RouteMeta { activeIcon?: string; /** * 当前激活的菜单,有时候不想激活现有菜单,需要激活父级菜单时使用 - * @default false */ activePath?: string; /** diff --git a/packages/effects/access/src/accessible.ts b/packages/effects/access/src/accessible.ts index 289a3bd0..89f3a11c 100644 --- a/packages/effects/access/src/accessible.ts +++ b/packages/effects/access/src/accessible.ts @@ -36,6 +36,7 @@ async function generateAccessible( /** * Generate routes * @param mode + * @param options */ async function generateRoutes( mode: AccessModeType, diff --git a/playground/src/store/auth.ts b/playground/src/store/auth.ts index c21d6b6d..5c50b150 100644 --- a/playground/src/store/auth.ts +++ b/playground/src/store/auth.ts @@ -24,6 +24,7 @@ export const useAuthStore = defineStore('auth', () => { * 异步处理登录操作 * Asynchronously handle the login process * @param params 登录表单数据 + * @param onSuccess 成功之后的回调函数 */ async function authLogin( params: LoginAndRegisterParams,