src/router/axios.js
@@ -68,8 +68,7 @@ if (statusWhiteList.includes(status)) return Promise.reject(res); //如果是401则跳转到登录页面 if (status === 401) store.dispatch('FedLogOut').then(() => // router.push({path: '/login'}) window.opener.location.href = 'http://dev.jxpskj.com:8020/ncny/login.html' router.push({path: '/login'}) ); // 如果请求为非200否者默认统一处理 if (status !== 200) {