fix: error msg
This commit is contained in:
parent
6281859fe5
commit
0603499f56
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
// https://github.com/ElemeFE/element/blob/dev/packages/upload/src/ajax.js
|
||||
|
||||
function getError(action, option, xhr) {
|
||||
const msg = `fail to post ${action} ${xhr.status}'`;
|
||||
const msg = `fail to post ${action} ${xhr.status}`;
|
||||
const err = new Error(msg);
|
||||
err.status = xhr.status;
|
||||
err.method = 'post';
|
||||
|
|
Loading…
Add table
Reference in a new issue