This commit is contained in:
parent
6fe6651067
commit
c3a7bcb1d0
|
@ -36,6 +36,7 @@ axios.interceptors.response.use(
|
||||||
// window.location.href =
|
// window.location.href =
|
||||||
// "http://220.191.238.50:996/api/login?returnURL=" +
|
// "http://220.191.238.50:996/api/login?returnURL=" +
|
||||||
// window.location.href;
|
// window.location.href;
|
||||||
|
|
||||||
router.replace({
|
router.replace({
|
||||||
path: '/guide'
|
path: '/guide'
|
||||||
});
|
});
|
||||||
|
|
|
@ -159,8 +159,8 @@ const login = () => {
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
// var token = getCookie("lytoken");
|
var token = getCookie("lytoken");
|
||||||
var token = '6b0e380b4a8f46baae4923f83faf670d';
|
// var token = '6b0e380b4a8f46baae4923f83faf670d';
|
||||||
// console.log('token', token)
|
// console.log('token', token)
|
||||||
if (!token) {
|
if (!token) {
|
||||||
window.location.href =
|
window.location.href =
|
||||||
|
|
Loading…
Reference in New Issue