增加Scheme详细查看页面。

This commit is contained in:
徐涛 2024-12-25 17:11:17 +08:00
parent e7332e331b
commit fa02a132ae
2 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,7 @@ import { Notifications } from './components/Notifications';
import { Home } from './pages/Home';
import { MainLayout } from './pages/MainLayout';
import { NewScheme } from './pages/NewScheme';
import { SchemeDetail } from './pages/SchemeDetail';
import { Schemes } from './pages/Schemes';
const routes = createBrowserRouter([
@ -14,7 +15,10 @@ const routes = createBrowserRouter([
{
path: 'schemes',
element: <Schemes />,
children: [{ path: 'new', element: <NewScheme /> }],
children: [
{ path: 'new', element: <NewScheme /> },
{ path: ':id', element: <SchemeDetail /> },
],
},
],
},

View File

@ -0,0 +1,3 @@
export function SchemeDetail() {
return <div></div>;
}