This commit is contained in:
duanxiaohai 2024-09-26 09:08:56 +08:00
parent 6fe6651067
commit c3a7bcb1d0
2 changed files with 3 additions and 2 deletions

View File

@ -36,6 +36,7 @@ axios.interceptors.response.use(
// window.location.href =
// "http://220.191.238.50:996/api/login?returnURL=" +
// window.location.href;
router.replace({
path: '/guide'
});

View File

@ -159,8 +159,8 @@ const login = () => {
})
.catch((err) => {
console.log(err);
// var token = getCookie("lytoken");
var token = '6b0e380b4a8f46baae4923f83faf670d';
var token = getCookie("lytoken");
// var token = '6b0e380b4a8f46baae4923f83faf670d';
// console.log('token', token)
if (!token) {
window.location.href =