第一阶段bug修复完毕

This commit is contained in:
2025-12-18 00:46:37 +08:00
parent 4b53e74729
commit e88716b1ea
12 changed files with 903 additions and 109 deletions

View File

@@ -14,6 +14,8 @@ import ExamList from './pages/ExamList'
import ExamDetail from './pages/ExamDetail'
import QuizPlayer from './pages/QuizPlayer'
import MistakeList from './pages/MistakeList'
import MistakePlayer from './pages/MistakePlayer'
import QuestionBank from './pages/QuestionBank'
// Admin Pages
import AdminPanel from './pages/AdminPanel'
@@ -100,6 +102,24 @@ function App() {
}
/>
<Route
path="/mistake-quiz"
element={
<ProtectedRoute>
<MistakePlayer />
</ProtectedRoute>
}
/>
<Route
path="/questions"
element={
<ProtectedRoute>
<QuestionBank />
</ProtectedRoute>
}
/>
{/* Admin Only Routes */}
<Route
path="/admin"