|
@@ -21,7 +21,7 @@ export const questionTypeOption = [
|
|
|
{ label: '朗读题', value: 'read_aloud' },
|
|
|
{ label: '听说训练', value: 'repeat' },
|
|
|
{ label: '看图说话', value: 'talk_picture' },
|
|
|
- { label: '对话练习', value: 'dialogue' },
|
|
|
+ { label: '对话题', value: 'dialogue' },
|
|
|
],
|
|
|
},
|
|
|
{
|
|
@@ -126,6 +126,15 @@ export const switchOption = [
|
|
|
{ value: 'false', label: '关闭' },
|
|
|
];
|
|
|
|
|
|
+/**
|
|
|
+ * 是否开启
|
|
|
+ * @param {String} value 值
|
|
|
+ * @returns Boolean
|
|
|
+ */
|
|
|
+export function isEnable(value) {
|
|
|
+ return value === switchOption[0].value;
|
|
|
+}
|
|
|
+
|
|
|
// 题号类型
|
|
|
export const questionNumberTypeList = [
|
|
|
{ value: 'recalculate', label: '重新计算' },
|