feat: 添加路由守卫与拦截器

This commit is contained in:
landaiqing
2024-05-28 02:07:05 +08:00
parent ce246ae2fe
commit cb9c827220
5 changed files with 82 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ import { useEffect } from "react";
export default () => {
const navigate = useNavigate();
const goBack = () => {
navigate(-1);
navigate(-2);
};
useEffect(() => {
document.body.classList.add("not-fount-body");