This commit is contained in:
parent
b44e609d22
commit
fa27f30734
|
|
@ -131,7 +131,7 @@ export function DetailPageHeader({ data }: { data: any }) {
|
||||||
|
|
||||||
if (!userData || !userData.user_name) {
|
if (!userData || !userData.user_name) {
|
||||||
setStatusText("未登录,正在跳转登录页面...");
|
setStatusText("未登录,正在跳转登录页面...");
|
||||||
window.location.href = "/login";
|
window.location.href = "/auth/sign-in/";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue