Remove Generate.tsx
This commit is contained in:
+1
-1
@@ -242,7 +242,7 @@ export const employeeSerialApi = {
|
||||
if (params.toString()) url += `?${params.toString()}`;
|
||||
|
||||
const response = await apiClient.get(url);
|
||||
if (response.data.data) {
|
||||
if (response.data) {
|
||||
return response.data as EmployeeSerialResponse;
|
||||
}
|
||||
throw new Error('获取员工序列号列表失败');
|
||||
|
||||
Reference in New Issue
Block a user