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.
1 parent 58149c4 commit 50f1d0cCopy full SHA for 50f1d0c
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