This commit is contained in:
2023-06-10 10:53:48 +08:00
parent f64b1ebe61
commit a5488dcd35
9 changed files with 49 additions and 43 deletions

View File

@@ -33,8 +33,7 @@ export async function export_zip(
added_page: 0,
};
const sendEvent = () => {
manager.dispatchTaskProgressEvent(TaskType.ExportZip, {
task_id: task.id,
manager.dispatchTaskProgressEvent(TaskType.ExportZip, task.id, {
added_page: progress.added_page,
total_page: progress.total_page,
});