检查页面更新.

This commit is contained in:
lijiahangmax
2025-07-01 01:45:47 +08:00
parent fcec6579d7
commit 87a2892fc4
5 changed files with 89 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
import type { MenuQueryResponse } from '@/api/system/menu';
import type { AxiosResponse } from 'axios';
import axios from 'axios';
/**
@@ -35,7 +36,9 @@ export interface UserUpdatePasswordResponse {
* 获取用户聚合信息
*/
export function getUserAggregateInfo() {
return axios.get<UserAggregateResponse>('/infra/user-aggregate/user');
return axios.get<AxiosResponse<UserAggregateResponse>>('/infra/user-aggregate/user', {
unwrap: true
});
}
/**