提交 78ac1c5e authored 作者: lihuihui's avatar lihuihui

bug修改

上级 5003cf43
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
<div class="txt">正确答案: <div class="txt">正确答案:
<span> <span>
{{ {{
changeA_Z(changeArray(cItem.question_answer), cItem) changeA_Z(changeArray(cItem.question_answer), cItem).sort().toString().replace(new RegExp(',', 'g'), '')
}} }}
</span> </span>
</div> </div>
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<span> <span>
{{ {{
isObjKey(item, cItem) isObjKey(item, cItem)
? changeA_Z(question.answer[item.question_item_id][cItem.id].answer, cItem) ? changeA_Z(question.answer[item.question_item_id][cItem.id].answer, cItem).sort().toString().replace(new RegExp(',', 'g'), '')
: '' : ''
}} }}
</span> </span>
...@@ -215,7 +215,8 @@ export default { ...@@ -215,7 +215,8 @@ export default {
return function (data, cItem) { return function (data, cItem) {
return data.map((i, index) => { return data.map((i, index) => {
return this.other.A_Z[cItem.question_options.findIndex(id => { return id.id === i })] return this.other.A_Z[cItem.question_options.findIndex(id => { return id.id === i })]
}).toString().replace(new RegExp(',', 'g'), '') })
// .toString().replace(new RegExp(',', 'g'), '')
} }
} }
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论