|
@@ -9,6 +9,7 @@ export function useExamTest() {
|
|
|
{
|
|
|
createTime: '2021-11-05 10:25:51',
|
|
|
id: 20,
|
|
|
+ answerArr:[""],
|
|
|
image: null,
|
|
|
imageYdt: null,
|
|
|
answer: '√',
|
|
@@ -502,6 +503,7 @@ export function useExamTest() {
|
|
|
Api.openApiquestionInfoSelectTestQuestionInfo(params).then((res) => {
|
|
|
res.data.rows.forEach((item) => {
|
|
|
item.optsArr = item.opts.split('-');
|
|
|
+ item.answerArr = item.answer.split('-');
|
|
|
item.userAnswer = '';
|
|
|
});
|
|
|
list.value = res.data.rows;
|