diff --git a/api/api.js b/api/api.js index 590aed4..e5c9851 100644 --- a/api/api.js +++ b/api/api.js @@ -181,7 +181,7 @@ const config = { export function api(key, data, callback, loadingTitle) { let req = config[key] - ifo + if (!req) { console.error('无效key' + key); return