diff --git a/dist.zip b/dist.zip deleted file mode 100644 index d09a052..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/view/guide.vue b/src/view/guide.vue index 8590b1d..fadf252 100644 --- a/src/view/guide.vue +++ b/src/view/guide.vue @@ -137,13 +137,13 @@ const reset_font = () => { "scale(" + width / 1920 + "," + height / 1080 + ")"; }; onMounted(() => { - // let token = tools.data.get("token"); - // // console.log(token, "token"); - // if (token == null) { - // ElMessage.error("请重新登录!"); - // window.location.href = - // "http://220.191.238.50:996/api/login?returnURL=" + window.location.href; - // } + let token = tools.data.get("token"); + // console.log(token, "token"); + if (token == null) { + ElMessage.error("请重新登录!"); + window.location.href = + "http://220.191.238.50:996/api/login?returnURL=" + window.location.href; + } reset_font(); reset_font(); });