chore(docs): update function parameter comments (#4215)
* docs(other): update function parameters jsdoc - 移除`vue-router.d.ts`中`activePath`属性的默认值注释。 - 重构`generateRoutes`函数签名,增加`options`参数。 - 调整`authLogin`函数文档,增加`onSuccess`回调函数的说明。 * docs: 删除 `activePath` 属性的默认值注释 在路线文档中,移除了`activePath`属性的默认值注释,以清晰说明其行为。此更改更新了文档内容,使其更准确地反映代码实现。
This commit is contained in:
@@ -24,6 +24,7 @@ export const useAuthStore = defineStore('auth', () => {
|
||||
* 异步处理登录操作
|
||||
* Asynchronously handle the login process
|
||||
* @param params 登录表单数据
|
||||
* @param onSuccess 成功之后的回调函数
|
||||
*/
|
||||
async function authLogin(
|
||||
params: LoginAndRegisterParams,
|
||||
|
Reference in New Issue
Block a user