diff --git a/src/utils/request.js b/src/utils/request.js index 4faaae74db33162a7dc4157a285bed57da309d2a..ffad1ed935fd9e517dd885d1e1d9403af6ecdff4 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.