feat: 删除无用组件

This commit is contained in:
zdl
2025-10-20 13:34:19 +08:00
parent 44f9fea624
commit b2681231b0
24 changed files with 16 additions and 7877 deletions

View File

@@ -23,7 +23,6 @@ import theme from "theme/theme.js";
import PageLoader from "components/Loading/PageLoader";
// Layouts - 保持同步导入(需要立即加载)
import Admin from "layouts/Admin";
import Auth from "layouts/Auth";
import HomeLayout from "layouts/Home";
import MainLayout from "layouts/MainLayout";
@@ -143,19 +142,6 @@ function AppContent() {
<Route path="market-data" element={<MarketDataView />} />
</Route>
{/* 管理后台路由 - 需要登录,不使用 MainLayout */}
{/* 这些路由有自己的加载状态处理 */}
<Route
path="admin/*"
element={
<Suspense fallback={<PageLoader message="加载中..." />}>
<ProtectedRoute>
<Admin />
</ProtectedRoute>
</Suspense>
}
/>
{/* 认证页面路由 - 不使用 MainLayout */}
<Route path="auth/*" element={<Auth />} />