修改引用路径
This commit is contained in:
parent
85d279d98a
commit
a8ac8007bf
|
@ -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";
|
||||||
|
|
|
@ -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("/")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue