實作邏輯題結果與資料庫整合

This commit is contained in:
2025-09-29 02:56:23 +08:00
parent 0887347116
commit aa34d2d078
31 changed files with 1839 additions and 88 deletions

View File

@@ -290,11 +290,11 @@ export default function CombinedTestPage() {
{phase === "logic"
? // Logic question options
[
{ value: 'A', text: currentQ.option_a },
{ value: 'B', text: currentQ.option_b },
{ value: 'C', text: currentQ.option_c },
{ value: 'D', text: currentQ.option_d },
{ value: 'E', text: currentQ.option_e }
{ value: 'A', text: (currentQ as LogicQuestion).option_a },
{ value: 'B', text: (currentQ as LogicQuestion).option_b },
{ value: 'C', text: (currentQ as LogicQuestion).option_c },
{ value: 'D', text: (currentQ as LogicQuestion).option_d },
{ value: 'E', text: (currentQ as LogicQuestion).option_e }
].map((option, index) => (
<div
key={index}