This commit is contained in:
zouyf 2024-10-20 15:03:30 +08:00
parent 17e8e43ad4
commit 64e91dffbe
1 changed files with 4 additions and 2 deletions

View File

@ -834,8 +834,10 @@ 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.replace(/<[^>]*>/g,'');
// const feedcontent = stuItem.feedcontent.replace(/<[^>]*>/g,'');
const workdesc = item;
const feedcontent = stuItem.feedcontent;
if(workdesc == feedcontent){
return (String.fromCharCode(65+Number(index)))
}