From fbf8427eef0e70521fe1de8334c0baac1a0ca7b1 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Thu, 14 Mar 2024 17:20:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/edutraining/courseinfo.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/edutraining/courseinfo.vue b/src/views/edutraining/courseinfo.vue index 41daf73..c49ebc6 100644 --- a/src/views/edutraining/courseinfo.vue +++ b/src/views/edutraining/courseinfo.vue @@ -294,10 +294,17 @@ export default { title: "进度", message: `当前上传进度: ${progressPercentage}%`, }); - + if(progressPercentage==100){ + this.$notify({ + type: 'success', + title: "通知", + message: `文件已上传完成!正在处理中请稍等......`, + }); + } // 这里可以根据需要更新进度条或进度文本 if (index === totalChunks - 1) { + const fileData = { fileName: file.name, totalChunks: totalChunks,