Compare commits

...

3 Commits

Author SHA1 Message Date
zouyf b0075b86ba Merge pull request 'zouyf_dev' (#347) from zouyf_dev into main
Reviewed-on: #347
2024-10-20 15:28:42 +08:00
zouyf 92f23a35f9 Merge branch 'main' into zouyf_dev 2024-10-20 15:04:33 +08:00
zouyf 64e91dffbe 1 2024-10-20 15:03:30 +08:00
1 changed files with 4 additions and 2 deletions

View File

@ -835,8 +835,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)))
}