--添加测试模块

This commit is contained in:
2025-10-13 11:53:54 +08:00
parent c3c93fe308
commit e1326c7ce8
146 changed files with 11171 additions and 807 deletions

View File

@ -92,7 +92,7 @@ export const useUserStore = defineStore({
): Promise<GetUserInfoModel | null> {
try {
const { token } = params;
params.goHome=true;
params.goHome = true;
return await this.tokenLogin(token,params);
} catch (error) {
return Promise.reject(error);
@ -111,7 +111,7 @@ export const useUserStore = defineStore({
const { goHome = true, mode, ...loginParams } = params;
const data = await loginApi(loginParams, mode);
const { token } = data;
params.goHome=true;
params.goHome = true;
return await this.tokenLogin(token,params);
} catch (error) {
return Promise.reject(error);