修改引用路径

This commit is contained in:
al 2024-08-05 19:29:34 +08:00
parent 85d279d98a
commit a8ac8007bf
2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,7 @@ import PostItem from "@/components/PostItem";
import PostItemSkeleton from "@/components/skeletons/PostItemSkeleton"; import PostItemSkeleton from "@/components/skeletons/PostItemSkeleton";
import requireAPI from "@/utils/requireAPI"; import requireAPI from "@/utils/requireAPI";
import AddWeChat from "@/components/AddWeChat"; import AddWeChat from "@/components/AddWeChat";
import SeeTiefen from "@/components/StreamerNavigator"; import SeeTiefen from "@/components/SeeTiefen";
import DefaultMask from "@/components/DefaultMask"; import DefaultMask from "@/components/DefaultMask";
import { getSpaceData, getStreamerInfo } from "@/api/space"; import { getSpaceData, getStreamerInfo } from "@/api/space";
import baseRequest from "@/utils/baseRequest"; import baseRequest from "@/utils/baseRequest";

View File

@ -35,7 +35,6 @@ export default function WithAuth(WrappedComponent) {
}); });
router.push("/login"); router.push("/login");
}else{ }else{
if(pathname.includes("login")){ if(pathname.includes("login")){
router.replace("/") router.replace("/")
} }