1
0

feat: 增加股票集相关服务

This commit is contained in:
2025-09-08 23:12:21 +08:00
parent 1ad5b10e20
commit 388456ff24
7 changed files with 146 additions and 10 deletions

View File

@@ -12,6 +12,7 @@ import TaskTemplateList from './pages/task/TaskTemplateList.tsx'
import TaskTemplateSave from './pages/task/TaskTemplateSave.tsx'
import TaskScheduleList from './pages/task/TaskScheduleList.tsx'
import TaskScheduleSave from './pages/task/TaskScheduleSave.tsx'
import StockCollectionList from './pages/stock/StockCollectionList.tsx'
const routes: RouteObject[] = [
{
@@ -29,10 +30,6 @@ const routes: RouteObject[] = [
{
path: 'stock',
children: [
{
index: true,
element: <Navigate to="/stock/list" replace/>,
},
{
path: 'list',
Component: StockList,
@@ -41,6 +38,15 @@ const routes: RouteObject[] = [
path: 'detail/:id',
Component: StockDetail,
},
{
path: "collection",
children: [
{
path: 'list',
Component: StockCollectionList,
},
],
},
],
},
{