diff --git a/src/main.js b/src/main.js index 7a4998a..409c924 100644 --- a/src/main.js +++ b/src/main.js @@ -76,7 +76,7 @@ function translate(query, completion) { error: { type: reason, message: `接口响应错误 - ${resp.data.error.message}`, - addtion: JSON.stringify(resp), + addition: JSON.stringify(resp), }, }); } else { @@ -116,7 +116,7 @@ function translate(query, completion) { error: { type: err._type || "unknown", message: err._message || "未知错误", - addtion: err._addtion, + addition: err._addition, }, }); });