Compare commits

..

No commits in common. "b0075b86ba322ef7b1744ad24ecf8fd67a9b50c6" and "54d4896e1802e7c98fafe9752f3595d53df8c31e" have entirely different histories.

1 changed files with 2 additions and 4 deletions

View File

@ -835,10 +835,8 @@ const formatFeedContent = (stuItem, quItem) => {
const list = quizStrToList(quItem.workdesc);
format = list.map((item,index) =>{
if (quItem.worktype == '单选题') {
// const workdesc = item.replace(/<[^>]*>/g,'');
// const feedcontent = stuItem.feedcontent.replace(/<[^>]*>/g,'');
const workdesc = item;
const feedcontent = stuItem.feedcontent;
const workdesc = item.replace(/<[^>]*>/g,'');
const feedcontent = stuItem.feedcontent.replace(/<[^>]*>/g,'');
if(workdesc == feedcontent){
return (String.fromCharCode(65+Number(index)))
}