打分上传后台
All checks were successful
Deploy to Server / deploy (push) Successful in 26s

This commit is contained in:
jeremygan2021
2026-03-12 13:47:21 +08:00
parent 1f693e0e8a
commit f23e477f57
4 changed files with 121 additions and 12 deletions

View File

@@ -24,6 +24,14 @@ import './App.css';
const queryClient = new QueryClient();
function JudgeLoginRedirect() {
React.useEffect(() => {
window.location.replace('/judge/login/');
}, []);
return null;
}
function App() {
return (
<QueryClientProvider client={queryClient}>
@@ -46,6 +54,7 @@ function App() {
<Route path="/my-orders" element={<MyOrders />} />
<Route path="/product/:id" element={<ProductDetail />} />
<Route path="/payment/:orderId" element={<Payment />} />
<Route path="/judge-login" element={<JudgeLoginRedirect />} />
</Routes>
</Layout>
</BrowserRouter>