Update uploader.js

This commit is contained in:
Anyon 2019-09-11 11:06:01 +08:00
parent 597e2d0dc3
commit 77c9882612

View File

@ -18,7 +18,7 @@ define(function () {
headers: headers || {}, headers: headers || {},
multiple: $(element).attr('data-multiple') > 0, multiple: $(element).attr('data-multiple') > 0,
before: function () { before: function () {
this.proindex = $.msg.loading('上传进度 <span data-upload-progress></span>'); this.proindex = $.msg.loading('上传进度 <span data-upload-progress>0%</span>');
}, },
progress: function (n) { progress: function (n) {
$('[data-upload-progress]').html(n + '%'); $('[data-upload-progress]').html(n + '%');