From 64e91dffbe4c2f8705d51492bd8038bd6002d28f Mon Sep 17 00:00:00 2001 From: zouyf <80906036@qq.com> Date: Sun, 20 Oct 2024 15:03:30 +0800 Subject: [PATCH] 1 --- .../classTask/container/classTask/item-dialog-score.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/views/classTask/container/classTask/item-dialog-score.vue b/src/renderer/src/views/classTask/container/classTask/item-dialog-score.vue index f8ca287..8db0a6e 100644 --- a/src/renderer/src/views/classTask/container/classTask/item-dialog-score.vue +++ b/src/renderer/src/views/classTask/container/classTask/item-dialog-score.vue @@ -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))) } -- 2.44.0.windows.1