优化:去掉不必要的loading

This commit is contained in:
2025-12-12 11:57:43 +08:00
parent 6e5d63febe
commit 04e2196942
8 changed files with 66 additions and 28 deletions

View File

@@ -1,4 +1,5 @@
// types/user.ts
import type { IApiResponse } from '@/api/types'
/**
*
@@ -16,12 +17,12 @@ export interface IUserInfo {
/**
*
*/
export interface ILoginResponse {
userInfo: IUserInfo
export interface ILoginResponse<T = IUserInfo> extends IApiResponse {
token: {
token: string
[key: string]: any
}
},
userInfo: T
}
/**