This commit is contained in:
parent
fba0640d6e
commit
392fb8ae05
|
@ -137,13 +137,13 @@ const reset_font = () => {
|
||||||
"scale(" + width / 1920 + "," + height / 1080 + ")";
|
"scale(" + width / 1920 + "," + height / 1080 + ")";
|
||||||
};
|
};
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// let token = tools.data.get("token");
|
let token = tools.data.get("token");
|
||||||
// // console.log(token, "token");
|
// console.log(token, "token");
|
||||||
// if (token == null) {
|
if (token == null) {
|
||||||
// ElMessage.error("请重新登录!");
|
ElMessage.error("请重新登录!");
|
||||||
// window.location.href =
|
window.location.href =
|
||||||
// "http://220.191.238.50:996/api/login?returnURL=" + window.location.href;
|
"http://220.191.238.50:996/api/login?returnURL=" + window.location.href;
|
||||||
// }
|
}
|
||||||
reset_font();
|
reset_font();
|
||||||
reset_font();
|
reset_font();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue