Browse Source

增加序号空格

natasha 11 months ago
parent
commit
06eb5ae5c4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/exercise_questions/data/common.js

+ 2 - 0
src/views/exercise_questions/data/common.js

@@ -4,6 +4,7 @@ export const optionTypeList = [
   { value: 'number', label: '数字' },
   { value: 'capital', label: '大写字母' },
   { value: 'bracket_number', label: '括号数字' },
+  { value: 'space', label: '空格' },
 ];
 
 // 计算选项方法
@@ -12,6 +13,7 @@ export const computeOptionMethods = {
   [optionTypeList[1].value]: (i) => `${i + 1}.`,
   [optionTypeList[2].value]: (i) => `${String.fromCharCode(65 + i)}.`,
   [optionTypeList[3].value]: (i) => `(${i + 1})`,
+  [optionTypeList[4].value]: (i) => ``,
 };
 
 /**