diff --git a/src/utils/request.js b/src/utils/request.js index 4faaae74..ffad1ed9 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -121,7 +121,7 @@ export default function request( } return fetch(url, newOptions) .then(checkStatus) - .then(cachedSave) + .then(response => cachedSave(response, hashcode)) .then(response => { // DELETE and 204 do not return data by default // using .json will report an error.