File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,14 @@ var uploader = Qiniu.uploader({
16
16
domain : 'http://qiniu-plupload.qiniudn.com/' ,
17
17
// unique_names: true,
18
18
// save_key: true,
19
+ // x_vars: {
20
+ // 'id': '1234',
21
+ // 'time': function(up, file) {
22
+ // var time = (new Date()).getTime();
23
+ // // do something with 'time'
24
+ // return time;
25
+ // },
26
+ // },
19
27
auto_start : true ,
20
28
init : {
21
29
'FilesAdded' : function ( up , files ) {
@@ -44,6 +52,7 @@ var uploader = Qiniu.uploader({
44
52
} ,
45
53
'FileUploaded' : function ( up , file , info ) {
46
54
var progress = new FileProgress ( file , 'fsUploadProgress' ) ;
55
+ console . log ( up , info ) ;
47
56
progress . setComplete ( up , info ) ;
48
57
} ,
49
58
'Error' : function ( up , err , errTip ) {
@@ -216,4 +225,4 @@ $(function() {
216
225
return false ;
217
226
} ) ;
218
227
219
- } ) ;
228
+ } ) ;
You can’t perform that action at this time.
0 commit comments