diff --git a/dist.zip b/dist.zip new file mode 100644 index 0000000..3daf3be Binary files /dev/null and b/dist.zip differ diff --git a/src/utils/request.js b/src/utils/request.js index ca4868b..9b4731a 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -31,9 +31,9 @@ axios.interceptors.response.use( // console.log(error.response,"响应拦截器失败") ElMessage.error("请重新登录!"); // window.location.href = '/#/login?returnURL=' + window.location.href - window.location.href = - "http://220.191.238.50:996/api/login?returnURL=" + - window.location.href; + // window.location.href = + // "http://220.191.238.50:996/api/login?returnURL=" + + // window.location.href; } else if (error.response.status == 404) { ElMessage.error("Status:404,正在请求不存在的服务器记录!"); } else if (error.response.status == 500) { diff --git a/src/view/guide.vue b/src/view/guide.vue index 8007009..b112297 100644 --- a/src/view/guide.vue +++ b/src/view/guide.vue @@ -138,7 +138,7 @@ const reset_font = () => { }; onMounted(() => { let token = tools.data.get("token"); - console.log(token, "token"); + // console.log(token, "token"); if (token == null) { ElMessage.error("请重新登录!"); window.location.href = diff --git a/src/view/sy_table.vue b/src/view/sy_table.vue index 8142ebf..bf315b1 100644 --- a/src/view/sy_table.vue +++ b/src/view/sy_table.vue @@ -167,7 +167,7 @@ import tools from "@/utils/tools"; onMounted(() => { let token = tools.data.get("token"); - console.log(token, "token"); + // console.log(token, "token"); if (token == null) { ElMessage.error("请重新登录!"); window.location.href =