摘要: mode设置成history就可以了 阅读全文
posted @ 2021-01-22 17:02 上官兰雨 阅读(110) 评论(0) 推荐(0) 编辑
摘要: axios中添加响应拦截器 Axios.interceptors.response.use(res = > { let resData = res.data; if (resData.code == 1) { Toast('登陆超时!请重新登录'); removeStore('userInfo'); 阅读全文
posted @ 2021-01-22 16:41 上官兰雨 阅读(2079) 评论(0) 推荐(0) 编辑