diff --git a/src/request/request.js b/src/request/request.js index bce657f..94abad4 100644 --- a/src/request/request.js +++ b/src/request/request.js @@ -15,7 +15,7 @@ const apiRequest = async (url, method = 'GET', params = {}) => { }, }) - return { ...response.data, statusCode: response.status } + return [response.data, response.status] } catch (e) { const { response, message } = e let networkError