fix: bug
This commit is contained in:
@@ -106,13 +106,14 @@
|
||||
clearResult: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
});
|
||||
const modelValue = computed({
|
||||
get: () => props.modelValue,
|
||||
set: (val) => emit('update:modelValue', val)
|
||||
});
|
||||
const item_answer = ref(typeof props?.my_answer === 'string' ? props.my_answer.split(',') : []);
|
||||
let answerText = props.item?.my_answer
|
||||
const item_answer = ref(typeof answerText === 'string' ? answerText.split(',') : []);
|
||||
const feedback_click = () => {
|
||||
emit('subject_click', 'feedback', props.item);
|
||||
};
|
||||
|
||||
@@ -293,7 +293,8 @@ const audioCacheObj = computed(() => storageStore.audioObj)
|
||||
const subjectInfo = computed(()=>{
|
||||
return {
|
||||
...dataInfo.value,
|
||||
...(dataInfo.value?.traQnsInfoVo||{})
|
||||
...(dataInfo.value?.traQnsInfoVo||{}),
|
||||
my_answer: dataInfo.value?.traQnsInfoVo?.anserResult||''
|
||||
}
|
||||
})
|
||||
const mode = ref('study') // 考试 examination 练习practice 学习study
|
||||
|
||||
Reference in New Issue
Block a user