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:
Chaos
2025-11-27 17:12:03 +08:00
parent 2a14389daf
commit 2caa8f26a3
18 changed files with 596 additions and 458 deletions

View File

@@ -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;