@@ -88,7 +88,7 @@ Component({
method: "PUT",
data: data,
header: {
- 'content-type': 'application/octet-stream'
+ 'content-type': res.filetype == 'pdf' ? "application/pdf" : 'application/octet-stream'
},
success(a) {
_Http.basic({