From 0603499f56d128ea7d0a659b4664609fd822d694 Mon Sep 17 00:00:00 2001 From: xuhongxin Date: Fri, 15 Jun 2018 16:59:16 +0800 Subject: [PATCH] fix: error msg --- src/components/upload/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';