zouyf_dev #347

Merged
zouyf merged 2 commits from zouyf_dev into main 2024-10-20 15:28:44 +08:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 64e91dffbe - Show all commits

View File

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