refactor: 拆分后台咨询记录模块
This commit is contained in:
1 parent
8033cabff9
commit
bff6e4e9d6
2 files changed
+98
-1
No files matched your search
@@ -26,6 +26,7 @@ import {
|
||||
Badge,
|
||||
} from "antd";
|
||||
import { createApiClient } from "./lib/api.js";
|
||||
import { InquiriesPage as FeatureInquiriesPage } from "./features/inquiries/InquiriesPage.js";
|
||||
import { BrowserRouter, Navigate, Route, Routes, useLocation, useNavigate } from "react-router-dom";
|
||||
import type {
|
||||
BrandProfile,
|
||||
@@ -544,7 +545,7 @@ function Dashboard({ onLogout }: { onLogout: () => void }) {
|
||||
<Route path="brand" element={<BrandPage />} />
|
||||
<Route path="trust" element={<TrustContentPage />} />
|
||||
<Route path="services" element={<ServicesPage />} />
|
||||
<Route path="inquiries" element={<InquiriesPage />} />
|
||||
<Route path="inquiries" element={<FeatureInquiriesPage />} />
|
||||
<Route path="*" element={<Navigate to="/admin/brand" replace />} />
|
||||
</Routes>
|
||||
</Layout.Content>
|
||||
|
||||
Reference in new issue
Block a user