web-uploader icon indicating copy to clipboard operation
web-uploader copied to clipboard

上传完成回调complete方法返回获取不到

Open fpleihub opened this issue 7 years ago • 1 comments

complete: function (task, state, responseText) 该回调中responseText为responseText=undefined

返回: String jsonStr = "{"success": 1, "message":"上传成功","url":"" + files.get(0)+ ""}"; out.write(jsonStr);

求解

fpleihub avatar Apr 22 '18 08:04 fpleihub

检查是否跨域了

devin87 avatar Apr 23 '18 01:04 devin87