Init Commit

This commit is contained in:
2026-06-04 16:26:23 +09:00
commit 1e64827f57
64 changed files with 10718 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { Navigate, Outlet } from 'react-router-dom';
export default function PrivateRoute() {
// const token = localStorage.getItem('jwt');
////// 如果没有 token,则跳转到 /login
// if (!token) {
// return <Navigate to="/login" replace />;
// }
// 已登录:渲染后续子路由
return <Outlet />;
}