Browse Source

优化通知

master
马远东 1 year ago
parent
commit
fbf8427eef
  1. 9
      src/views/edutraining/courseinfo.vue

9
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,

Loading…
Cancel
Save