forked from wangziqi/gongxue-base
fix(admin): avoid TSX generic syntax to fix oxc parser in Vite 8
This commit is contained in:
@@ -350,7 +350,7 @@ const IntegrationConfigPage: React.FC = () => {
|
|||||||
dingDeptIds: u.deptIds,
|
dingDeptIds: u.deptIds,
|
||||||
})),
|
})),
|
||||||
|
|
||||||
const res = await api.post<ImportUsersResponse>('/sync/dingtalk/import-users', payload);
|
const res = await api.post('/sync/dingtalk/import-users', payload) as ImportUsersResponse;
|
||||||
const data = res.data;
|
const data = res.data;
|
||||||
message.success(
|
message.success(
|
||||||
`导入完成:${data.teacherCount} 位老师,${data.studentCount} 位学生` +
|
`导入完成:${data.teacherCount} 位老师,${data.studentCount} 位学生` +
|
||||||
|
|||||||
Reference in New Issue
Block a user