UI:上传全部成功不再弹「已上传 N 个文件」提示,卡片完成态即反馈(失败仍提示)
This commit is contained in:
@@ -2548,8 +2548,8 @@
|
||||
}));
|
||||
await Promise.all(tasks);
|
||||
paintProg();
|
||||
// 全部成功不再弹提示(卡片已完成态即反馈);有失败才提醒
|
||||
if (errCount) toast('已上传 ' + done + ' 个,失败 ' + errCount + ' 个');
|
||||
else toast('已上传 ' + done + ' 个文件');
|
||||
loadFiles();
|
||||
// 1.2s 后收起进度条
|
||||
setTimeout(() => { progWrap.classList.add('hidden'); progBar.style.width = '0%'; }, 1200);
|
||||
|
||||
Reference in New Issue
Block a user