mirror of
https://github.com/handsomezhuzhu/QQuiz.git
synced 2026-02-20 20:10:14 +00:00
第一阶段bug修复完毕
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user