Browse Source

feat: 大题选择显示大题号

chenhao 2 years ago
parent
commit
e3b98a4691
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/hooks/useOptions.ts

+ 1 - 1
src/hooks/useOptions.ts

@@ -85,7 +85,7 @@ const useOptions = (
       mainQuestionListResult.value?.map<QuestionList>((v) => {
         return {
           ...v,
-          label: v.title,
+          label: `${v.mainNumber}-${v.title}`,
           value: v.mainNumber,
         }
       }) || []