diff --git a/src/components/upload/ajax.js b/src/components/upload/ajax.js index 911affd5..848703b3 100755 --- a/src/components/upload/ajax.js +++ b/src/components/upload/ajax.js @@ -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';