We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e2379b + 50f1d0c commit a8917b6Copy full SHA for a8917b6
demo/js/main.js
@@ -55,7 +55,16 @@ $(function() {
55
},
56
'FileUploaded': function(up, file, info) {
57
var progress = new FileProgress(file, 'fsUploadProgress');
58
- progress.setComplete(up, info);
+
59
+ $.ajax('./uptoken',{
60
+ async: false
61
+ }).done(function(data){
62
+ $.extend(info, data);
63
+ progress.setComplete(up, info);
64
+ }).error(function(){
65
+ console.log('获取下载token失败');
66
+ });
67
68
69
'Error': function(up, err, errTip) {
70
$('table').show();
0 commit comments