吸收数字员工日报产物闭环
This commit is contained in:
@@ -298,7 +298,10 @@ export default function DailyReport({ focusSection }: { focusSection?: string |
|
||||
|
||||
const downloadDailyReport = useCallback(() => {
|
||||
if (!report || report.status !== 'ready') return;
|
||||
downloadTextFile(reportFileName(today), buildReportDownloadText(today, report, taskSections, runDetails, artifactSources));
|
||||
downloadTextFile(
|
||||
report.download_filename || reportFileName(today),
|
||||
report.text_content || buildReportDownloadText(today, report, taskSections, runDetails, artifactSources),
|
||||
);
|
||||
}, [artifactSources, report, runDetails, taskSections, today]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user