From a7daa6060b2fbf2f2130dc25b7972ad10e2db42e Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 10 十一月 2023 10:40:05 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/plan/plan.js | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/plan/plan.js b/src/main/webapp/static/js/plan/plan.js index 4aad49b..ce7b0d1 100644 --- a/src/main/webapp/static/js/plan/plan.js +++ b/src/main/webapp/static/js/plan/plan.js @@ -281,7 +281,10 @@ var file = _uploadFile $("#upload-file-id-" + file.lastModified).html("涓婁紶涓�") - putObject(file).then((result) => { + putObject(file,(p) => { + // console.log(p) + $("#upload-file-id-" + file.lastModified).html("涓婁紶涓細" + (Math.round(p * 100)) + "%") + }).then((result) => { var filename = result.name layer.msg('涓婁紶鎴愬姛', {icon: 1}); $("#upload-file-id-" + file.lastModified).html("涓婁紶鎴愬姛") -- Gitblit v1.9.1