|
@@ -24,6 +24,7 @@ export const useAuthStore = defineStore('auth', () => {
|
|
|
* 异步处理登录操作
|
|
* 异步处理登录操作
|
|
|
* Asynchronously handle the login process
|
|
* Asynchronously handle the login process
|
|
|
* @param params 登录表单数据
|
|
* @param params 登录表单数据
|
|
|
|
|
+ * @param onSuccess 成功之后的回调函数
|
|
|
*/
|
|
*/
|
|
|
async function authLogin(
|
|
async function authLogin(
|
|
|
params: LoginAndRegisterParams,
|
|
params: LoginAndRegisterParams,
|