Compare commits
3 Commits
54d4896e18
...
b0075b86ba
Author | SHA1 | Date |
---|---|---|
zouyf | b0075b86ba | |
zouyf | 92f23a35f9 | |
zouyf | 64e91dffbe |
|
@ -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)))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue