From 508e850f38a67d605671fe381ad767a7bc4c8b7b Mon Sep 17 00:00:00 2001 From: ditiqi Date: Thu, 27 Feb 2025 08:25:48 +0800 Subject: [PATCH] add --- apps/web/src/routes/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/web/src/routes/index.tsx b/apps/web/src/routes/index.tsx index 1ba39aa..042e5c2 100755 --- a/apps/web/src/routes/index.tsx +++ b/apps/web/src/routes/index.tsx @@ -81,6 +81,10 @@ export const routes: CustomRouteObject[] = [ ), }, + { + path: "course/:id?/detail/:lectureId?", // 使用 ? 表示 id 参数是可选的 + element: , + }, ], }, @@ -114,10 +118,6 @@ export const routes: CustomRouteObject[] = [ }, ], }, - { - path: ":id?/detail/:lectureId?", // 使用 ? 表示 id 参数是可选的 - element: , - }, ], }, adminRoute,