ElemeFE / ElemeFE/element

on-error attribute for upload component err returns string instead of the full response object

Open
#18,851 3 comments 1 reaction 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

How can i get the error response if upload fails?
currently it get the error respond and convert it to string, how can i get the originally error respond object?

```
ElementUI upload component

handleUploadError(err, file){
console.log(err); //its a string of the server respond instead of the respond object
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.