feat(mohong): 新增摸红商城后台四页
This commit is contained in:
@@ -281,6 +281,26 @@ const AdminBackupsPage = lazy(() =>
|
||||
default: module.AdminBackupsPage,
|
||||
}))
|
||||
)
|
||||
const AdminCrashCategoriesPage = lazy(() =>
|
||||
import('@/features/admin/AdminCrashCategoriesPage').then(module => ({
|
||||
default: module.AdminCrashCategoriesPage,
|
||||
}))
|
||||
)
|
||||
const AdminCrashProductsPage = lazy(() =>
|
||||
import('@/features/admin/AdminCrashProductsPage').then(module => ({
|
||||
default: module.AdminCrashProductsPage,
|
||||
}))
|
||||
)
|
||||
const AdminCrashOrdersPage = lazy(() =>
|
||||
import('@/features/admin/AdminCrashOrdersPage').then(module => ({
|
||||
default: module.AdminCrashOrdersPage,
|
||||
}))
|
||||
)
|
||||
const AdminCrashConfigPage = lazy(() =>
|
||||
import('@/features/admin/AdminCrashConfigPage').then(module => ({
|
||||
default: module.AdminCrashConfigPage,
|
||||
}))
|
||||
)
|
||||
const AdminManualEntriesPage = lazy(() =>
|
||||
import('@/features/admin/AdminManualEntriesPage').then(module => ({
|
||||
default: module.AdminManualEntriesPage,
|
||||
@@ -495,6 +515,10 @@ export function AppRouter() {
|
||||
<Route path="roles" element={<AdminRolesPage />} />
|
||||
<Route path="admin-users" element={<AdminStaffAccountsPage />} />
|
||||
<Route path="backups" element={<AdminBackupsPage />} />
|
||||
<Route path="crash/categories" element={<AdminCrashCategoriesPage />} />
|
||||
<Route path="crash/products" element={<AdminCrashProductsPage />} />
|
||||
<Route path="crash/orders" element={<AdminCrashOrdersPage />} />
|
||||
<Route path="crash/config" element={<AdminCrashConfigPage />} />
|
||||
<Route path="manual-entries" element={<AdminManualEntriesPage />} />
|
||||
<Route path="payments" element={<AdminPaymentsPage />} />
|
||||
<Route path="pickup" element={<AdminPickupsPage />} />
|
||||
|
||||
Reference in New Issue
Block a user