yao978318542
V2EX  ›  问与答

百度 WebUploader 上传 fileSingleSizeLimit 参数设置了 为什么不管用呢?

  •  
  •   yao978318542 · Mar 27, 2017 · 1840 views
    This topic created in 3359 days ago, the information mentioned may be changed or developed.
    3 replies    2017-03-27 11:09:37 +08:00
    yao978318542
        1
    yao978318542  
    OP
       Mar 27, 2017
    uploader = WebUploader.create({
    auto: true,
    runtimeOrder: 'html5,flash',
    swf: '/Public/member/js/Uploader.swf',
    server: 'http://img.kuleiman.com/Imagesup.php?dirtype=2'+url_member_id,
    accept: {
    title: 'Images',
    extensions: 'jpg',
    mimeTypes: '.jpg'
    },
    fileNumLimit: 36,
    fileSingleSizeLimit: 1024 * 500
    });
    shew2356
        2
    shew2356  
       Mar 27, 2017
    开谷歌浏览器调试工具,看看有没有发送请求,如果发送了,看看参数是否正确,是否需要转 JSESSIONID ,后台打个断点,试试,你光发这些有个毛用!
    yao978318542
        3
    yao978318542  
    OP
       Mar 27, 2017
    @shew2356 #2 没毛用!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2886 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 04:14 · PVG 12:14 · LAX 21:14 · JFK 00:14
    ♥ Do have faith in what you're doing.