feat: 首页模拟盘去除登陆控制
This commit is contained in:
12
src/App.js
12
src/App.js
@@ -120,14 +120,10 @@ function AppContent() {
|
|||||||
{/* 事件详情独立页面路由(不经 Admin 布局) */}
|
{/* 事件详情独立页面路由(不经 Admin 布局) */}
|
||||||
<Route path="event-detail/:eventId" element={<EventDetail />} />
|
<Route path="event-detail/:eventId" element={<EventDetail />} />
|
||||||
|
|
||||||
{/* 模拟盘交易系统路由 - 需要登录 */}
|
{/* 模拟盘交易系统路由 - 无需登录 */}
|
||||||
<Route
|
<Route
|
||||||
path="trading-simulation"
|
path="trading-simulation"
|
||||||
element={
|
element={<TradingSimulation />}
|
||||||
<ProtectedRoute>
|
|
||||||
<TradingSimulation />
|
|
||||||
</ProtectedRoute>
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{/* 管理后台路由 - 需要登录 */}
|
{/* 管理后台路由 - 需要登录 */}
|
||||||
|
|||||||
Reference in New Issue
Block a user