This repository has been archived by the owner on Dec 1, 2023. It is now read-only.
0.8.0
New
- Added
jsnext:main
in package.json
Changed
- Updated interceptor implementation
Vue.http.interceptors.push((request, next) => {
// modify request
resquest.method = 'POST';
// continue to next interceptor
next((response) => {
// modify response
response.data = '...';
});
});