From de14104af696c595b9a40fa526ca2f07b6ad51a7 Mon Sep 17 00:00:00 2001 From: Ranjiwei <32759763+r350178982@users.noreply.github.com> Date: Mon, 17 Mar 2025 11:56:33 +0800 Subject: [PATCH] Update zip-download-dialog.js (#7625) --- frontend/src/components/dialog/zip-download-dialog.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/dialog/zip-download-dialog.js b/frontend/src/components/dialog/zip-download-dialog.js index 75e741cfea..96625622bb 100644 --- a/frontend/src/components/dialog/zip-download-dialog.js +++ b/frontend/src/components/dialog/zip-download-dialog.js @@ -47,8 +47,10 @@ class ZipDownloadDialog extends React.Component { isLoading: false, errorMsg: '', zipToken: zipToken + }, () => { + this.queryZipProgress(); }); - this.queryZipProgress(); + interval = setInterval(this.queryZipProgress, 1000); }).catch((error) => { let errorMsg = Utils.getErrorMsg(error);