mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix: 【数据导出中心】修复通过仪表板导出的 Excel 在数据导出中心的进度条没有加载动画
This commit is contained in:
@@ -516,7 +516,7 @@ public class ExportCenterDownLoadManage {
|
||||
details.clear();
|
||||
}
|
||||
exportTask.setExportStatus("IN_PROGRESS");
|
||||
double exportProgress = (double) (i / (chartViewDTO.getTotalPage() + 1));
|
||||
double exportProgress = (double) ((double) i / (chartViewDTO.getTotalPage()));
|
||||
DecimalFormat df = new DecimalFormat("#.##");
|
||||
String formattedResult = df.format((exportProgress) * 100);
|
||||
exportTask.setExportProgress(formattedResult);
|
||||
|
||||
Reference in New Issue
Block a user