Passing the error message to jQuery File Upload

前端 未结 3 1432
伪装坚强ぢ
伪装坚强ぢ 2021-02-02 14:44

I\'ve integrated JQuery File Upload into a Java Spring application. The returned JSON is generated from an array of Picture, where Picture contains \"name\", \"size\", \"url\",

3条回答
  •  名媛妹妹
    2021-02-02 15:18

    You can use data.jqXHR.responseText

    Like this:

    fail: function(e, data){
        console.log(data.jqXHR.responseText);
    },
    

提交回复
热议问题