fix(admin): use type pattern consistent with rest of codebase (oxc compat)
This commit is contained in:
@@ -350,7 +350,7 @@ const IntegrationConfigPage: React.FC = () => {
|
||||
dingDeptIds: u.deptIds,
|
||||
})),
|
||||
|
||||
const res = await api.post('/sync/dingtalk/import-users', payload) as ImportUsersResponse;
|
||||
const res: any = await api.post('/sync/dingtalk/import-users', payload);
|
||||
const data = res.data;
|
||||
message.success(
|
||||
`导入完成:${data.teacherCount} 位老师,${data.studentCount} 位学生` +
|
||||
|
||||
Reference in New Issue
Block a user