From 2a08b97f0aad3af5d981a722efb218fb201f821f Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期五, 10 十一月 2023 11:23:34 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/plan/plan.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/static/js/plan/plan.js b/src/main/webapp/static/js/plan/plan.js
index 18873cf..45b75bd 100644
--- a/src/main/webapp/static/js/plan/plan.js
+++ b/src/main/webapp/static/js/plan/plan.js
@@ -286,7 +286,9 @@
         var file = _uploadFile
         $("#upload-file-id-" + file.lastModified).html("涓婁紶涓�")
 
-        putObject(file).then((result) => {
+        putObject(file,(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