feat(selection): 补充策略执行结果查询链路
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { createRootRoute, createRoute, Outlet } from "@tanstack/react-router"
|
||||
|
||||
import { HomePage } from "@/features/home/pages/home-page"
|
||||
import { SelectionResultsPage } from "@/features/selection/pages/selection-results-page"
|
||||
|
||||
const rootRoute = createRootRoute({
|
||||
component: () => <Outlet />,
|
||||
@@ -12,4 +13,10 @@ const indexRoute = createRoute({
|
||||
component: HomePage,
|
||||
})
|
||||
|
||||
export const routeTree = rootRoute.addChildren([indexRoute])
|
||||
const selectionRoute = createRoute({
|
||||
getParentRoute: () => rootRoute,
|
||||
path: "/selection",
|
||||
component: SelectionResultsPage,
|
||||
})
|
||||
|
||||
export const routeTree = rootRoute.addChildren([indexRoute, selectionRoute])
|
||||
|
||||
Reference in New Issue
Block a user