Skip to content

Commit

Permalink
修复BUG
Browse files Browse the repository at this point in the history
1.进度条显示问题
  • Loading branch information
Yincmewy committed Jul 22, 2024
1 parent 88dba1b commit d4e15b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Parsed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const onWorkerMessage = async (m: WorkerResponse) => {
if (m.type === 'progress') {
const low = (m.max ? m.max : 1) - (m.n ? m.n : 0) + 1;
const single = 100 / low;
progress.value = Math.floor(progress.value + single);
progress.value = Math.floor(single);
return;
}
if (m.type === 'success') {
Expand Down

0 comments on commit d4e15b0

Please sign in to comment.