|
|
@@ -102,7 +102,6 @@ axios.interceptors.request.use(async (config) => {
|
|
|
const offline = isOfflineMode();
|
|
|
if (!offline) {
|
|
|
if (!token && !~notLoginUrls.indexOf(config.url) && !shareBypassLogin) {
|
|
|
- console.log('RouteName.login2')
|
|
|
|
|
|
const buildRedirect = (): string => {
|
|
|
try {
|
|
|
@@ -182,7 +181,6 @@ const responseInterceptor = (res: AxiosResponse<any, any>) => {
|
|
|
~unAuthCode.indexOf(res.data.code) ||
|
|
|
errMsg === "token已经失效,请重新登录"
|
|
|
) {
|
|
|
- console.log('RouteName.login1')
|
|
|
getAuth().clear();
|
|
|
const buildRedirect = (): string => {
|
|
|
try {
|