feat(device): add device management feature
- Created device list page with loading states - Implemented device service with API integration - Added device response and request types - Updated sidebar navigation with device management section - Added laptop-settings icon - Modified user table component to accept props - Updated user service to return array of user profiles - Changed app language to Chinese (zh-CN)
This commit is contained in:
@@ -63,7 +63,7 @@ const httpRequest = async <T>(
|
||||
options: RequestOptions = {}
|
||||
): Promise<ApiResult<T>> => {
|
||||
const fullUrl = `${API_BASE_URL}${url}`;
|
||||
const { body, headers, ...rest } = options;
|
||||
const { body , headers, ...rest } = options;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user