var uploader = WebUploader.create({
                auto: true,
                // swf文件路径
                swf: '/Public/js/webupload/Uploader.swf',
                //默认值:'file'文件上传域的name
                fileVal:'download',
                // 文件接收服务端。
                server: '/upload-exe',
                // 选择文件的按钮。可选。
                // 内部根据当前运行是创建,可能是input元素,也可能是flash.
                pick: '#uploader',
                // 不压缩image, 默认如果是jpeg,文件上传前会压缩一把再上传!
                resize: false,
                //文件重复上传 true允许 false禁止
                duplicate:true
            });

 

相关文章:

  • 2021-12-16
  • 2022-12-23
  • 2021-08-21
  • 2021-12-10
  • 2021-06-21
  • 2021-11-07
  • 2021-12-12
猜你喜欢
  • 2021-11-22
  • 2021-06-28
  • 2021-12-10
  • 2022-01-05
  • 2022-12-23
  • 2021-06-14
相关资源
相似解决方案