8 lines
211 B
JavaScript
8 lines
211 B
JavaScript
/* eslint-disable */
|
|
Vue.http.interceptors.push((request, next) => {
|
|
Vue.activeResources = Vue.activeResources ? Vue.activeResources + 1 : 1;
|
|
|
|
next(function (response) {
|
|
Vue.activeResources--;
|
|
});
|
|
});
|