0dddfd39 by yangwei

token失效跳转修改

1 parent c49f1886
......@@ -2,7 +2,7 @@
/*
* @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器
* @Autor: renchao
* @LastEditTime: 2023-08-16 15:16:49
* @LastEditTime: 2023-09-20 14:20:39
*/
import axios from 'axios'
import Router from '@/router'
......@@ -77,7 +77,7 @@ service.interceptors.response.use(
Router.replace({
path: '/login',
query: {
redirect: Router.currentRoute.value.fullPath
redirect: Router.currentRoute.fullPath
}
})
return false
......