111
This commit is contained in:
parent
3bf5f56e22
commit
2f048a9a15
|
@ -37,11 +37,17 @@ axios.interceptors.response.use(
|
|||
// "http://220.191.238.50:996/api/login?returnURL=" +
|
||||
// window.location.href;
|
||||
|
||||
|
||||
const cookies = document.cookie.split(";");
|
||||
for (let i = 0; i < cookies.length; i++) {
|
||||
const cookie = cookies[i];
|
||||
const eqPos = cookie.indexOf("=");
|
||||
const name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie;
|
||||
document.cookie = name + "=;expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/;";
|
||||
}
|
||||
router.replace({
|
||||
path: '/guide'
|
||||
});
|
||||
|
||||
|
||||
} else if (error.response.status == 404) {
|
||||
ElMessage.error("Status:404,正在请求不存在的服务器记录!");
|
||||
} else if (error.response.status == 500) {
|
||||
|
|
|
@ -405,7 +405,7 @@ import j8 from "@/assets/images/map/j8.png";
|
|||
import j9 from "@/assets/images/map/j9.png";
|
||||
import j10 from "@/assets/images/map/j10.png";
|
||||
import j11 from "@/assets/images/map/j11.png";
|
||||
import j1_map from "@/assets/images/map/j1-map.png";
|
||||
import j1_map from "@/assets/images/map/j1_map.png";
|
||||
import j2_map from "@/assets/images/map/j2_map.png";
|
||||
import j3_map from "@/assets/images/map/j3_map.png";
|
||||
import j4_map from "@/assets/images/map/j4_map.png";
|
||||
|
|
Loading…
Reference in New Issue