dev
LiuJiaNan 2024-03-20 08:31:26 +08:00
parent 3bb1832d68
commit 8156e84bff
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@ axios.interceptors.response.use(
import.meta.env.DEV &&
ElMessage.error(`连接错误${error.response.status}`);
endLoading();
// ElMessage.error("登录失效,请重新登陆");
// router.push("/login").then();
ElMessage.error("登录失效,请重新登陆");
router.push("/login").then();
}
} else {
error.message = "连接到服务器失败";