This commit is contained in:
parent
6fe6651067
commit
c3a7bcb1d0
|
@ -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'
|
||||
});
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue