Compare commits

..

No commits in common. "36b862106004872295c1cc86511d37ec6d2a94e3" and "029881f09fec52b39907dc441906ae3fa02b902e" have entirely different histories.

View File

@ -698,10 +698,7 @@ const handleExportLessons = async () => {
await exportLessons();
message.success({ content: '导出成功', key: 'export' });
} catch (error) {
message.error({
content: error instanceof Error ? error.message : '导出失败',
key: 'export'
});
message.error({ content: '导出失败', key: 'export' });
}
};
@ -711,10 +708,7 @@ const handleExportTeacherStats = async () => {
await exportTeacherStats();
message.success({ content: '导出成功', key: 'export' });
} catch (error) {
message.error({
content: error instanceof Error ? error.message : '导出失败',
key: 'export'
});
message.error({ content: '导出失败', key: 'export' });
}
};
@ -724,10 +718,7 @@ const handleExportStudentStats = async () => {
await exportStudentStats();
message.success({ content: '导出成功', key: 'export' });
} catch (error) {
message.error({
content: error instanceof Error ? error.message : '导出失败',
key: 'export'
});
message.error({ content: '导出失败', key: 'export' });
}
};