控制台报错: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'cancelToken')
在写登录组件时,点击登录控制台总会报错:Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'cancelToken'),并且提示错误就在login组件里,在检查所有数据流走向后,发现是请求拦截器里边 的callback 没有返回 config 造成的