我pull老师 7-1 版本的代码,就把axios 0.18.0 -> 0.19.0
然后报
-----------------------------------------------------------------------
(node:15764) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'login' of undefined
at eval (webpack:///./src/components/Header/store/actions.js?:36:39)
at processTicksAndRejections (internal/process/next_tick.js:81:5)
(node:15764) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:15764) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.