官方文章中interceptors是用在全局的,但我是在main.js中实例化vue,然后再通过一个入口组件app.vue加载其他组件
现在想通过isLoading做一个全局的loading效果,这种情况怎么使用interceptors?
这种全局状态,最好用vuex来管理啦。