dev_aliyun2
harry 5 years ago
parent 4c44e599a5
commit 3ebfa74a18

@ -1,9 +1,9 @@
import React, { Component } from "react";
import { markdownToHTML } from 'educoder';
import {
Radio,
Tooltip,
Icon
Tooltip
} from "antd";
import './../questioncss/questioncom.css';
import QuillForEditor from "../../../common/quillForEditor";
@ -193,28 +193,11 @@ class Listjihe extends Component {
MULTIPLEkey = MULTIPLEkey + tagArrays[i];
}
// 编程答案
var rightkey = null
if (items) {
if (items.item_type) {
if (items.item_type === "PROGRAM") {
} else {
if (items.item_type === "JUDGMENT") {
if (items.choices) {
if (items.choices.length > 0) {
var arr = items.choices;
for (let data of arr) {
if (data.is_answer === true) {
rightkey = data.choice_text;
break;
}
}
}
}
} else {
if (items.choices) {
if (items.choices.length > 0) {
@ -227,8 +210,7 @@ class Listjihe extends Component {
}
}
}
}
}
}
}

Loading…
Cancel
Save