tried axios.CancelToken
as a result, the object data in view will be reported to not defined
even if the route is canceled and the route will not be redirected. tried axios.CancelToken
as a result, the object data in view will be reported to not defined
even if the route is canceled and the route will not be redirected.Previous: IView Select crashes
the newly created http.js sets the interceptor. How to determine if you are not logged in in the request interceptor, and then use vue-router to jump to the login page import axios from axios import { Message } from element-ui import Router fro...