alarm center
This commit is contained in:
@@ -93,6 +93,22 @@ export default function Router() {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/alarm-center',
|
||||
element: (
|
||||
<AuthProvider>
|
||||
<AuthGuard>
|
||||
<DashboardLayout />
|
||||
</AuthGuard>
|
||||
</AuthProvider>
|
||||
),
|
||||
children: [
|
||||
{
|
||||
element: <AlarmCenter />,
|
||||
index: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
// {
|
||||
// path: '/dashboard',
|
||||
// element: <DashboardLayout />,
|
||||
@@ -131,7 +147,7 @@ const Login = Loadable(lazy(() => import('../pages/auth/Login')));
|
||||
const VerifyCode = Loadable(lazy(() => import('../pages/auth/VerifyCode')));
|
||||
|
||||
// Dashboard
|
||||
const Dashboard = Loadable(lazy(() => import('../pages/Dashboard')));
|
||||
const Dashboard = Loadable(lazy(() => import('../pages/Dashboard/Dashboard')));
|
||||
const NotFound = Loadable(lazy(() => import('../pages/Page404')));
|
||||
|
||||
// Members
|
||||
@@ -139,4 +155,4 @@ const Members = Loadable(lazy(() => import('../pages/Members/Index')));
|
||||
const MembersCreate = Loadable(lazy(() => import('../pages/Members/Create')));
|
||||
|
||||
// Alarm Center
|
||||
// const AlarmCenter = Loadable(lazy(() => import('../pages/AlarmCenter/Index')));
|
||||
const AlarmCenter = Loadable(lazy(() => import('../pages/AlarmCenter/Index')));
|
||||
|
||||
Reference in New Issue
Block a user