diff --git a/src/utils/requestUtils.js b/src/utils/requestUtils.js index 6eab7d1..d2547df 100644 --- a/src/utils/requestUtils.js +++ b/src/utils/requestUtils.js @@ -14,7 +14,7 @@ async function getApiResult(url) { } else { // 请求失败 console.log(`error is ${error}`); - resolve(null); + resolve({}); } }); });