File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,20 @@ qiniu-js-sdk
7171 dragdrop: true, //开启可拖曳上传
7272 drop_element: 'container', //拖曳上传区域元素的ID,拖曳文件或文件夹后可触发上传
7373 chunk_size: '4mb', //分块上传时,每片的体积
74- auto_start: true, //选择文件后自动上传,若关闭需要自己绑定事件触发上传
74+ auto_start: true, //选择文件后自动上传,若关闭需要自己绑定事件触发上传,
75+ //x_vals : {
76+ // 自定义变量,参考http://developer.qiniu.com/docs/v6/api/overview/up/response/vars.html
77+ // 'time' : function(up,file) {
78+ // var time = (new Date()).getTime();
79+ // do something with 'time'
80+ // returnt time;
81+ // },
82+ // 'size' : function(up,file) {
83+ // var size = file.size;
84+ // do something with 'size'
85+ // return size;
86+ // }
87+ //},
7588 init: {
7689 'FilesAdded': function(up, files) {
7790 plupload.each(files, function(file) {
You can’t perform that action at this time.
0 commit comments