From 19c5336294a29382e618dece76b7bd12bfea2b07 Mon Sep 17 00:00:00 2001 From: yxw <17074267@qq.com> Date: Fri, 24 Nov 2023 16:25:24 +0800 Subject: [PATCH] fix --- system.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/system.html b/system.html index f693e2b..a65b5c1 100644 --- a/system.html +++ b/system.html @@ -190,10 +190,8 @@ // 添加文件上传的监听 // onprogress:进度监听事件,只要上传文件的进度发生了变化,就会自动的触发这个事件 newxhr.upload.onprogress = function (e) { - let percent = (e.loaded / e.total) * 100 + '%' console.log(percent) - // $('div').css('width', percent) } return newxhr }, @@ -239,8 +237,7 @@ console.log(res) } }) - }, - dataType: 'json' + } }) }) })