隐藏的题目,自动填写时,并被后续题目关联选项,会出现关联选项未正确展示的情况;
This commit is contained in:
@@ -848,9 +848,9 @@ export default defineComponent({
|
||||
if ([1].includes(question.question_type)) {
|
||||
evt1.value = Object.keys(question.answer).map((key) => question.answer[key] ? key : undefined).filter((i) => !!i)?.[0] || undefined;
|
||||
evt1.options = question.list.flatMap((i) => i.options)
|
||||
onRelation(evt1, question);
|
||||
}
|
||||
|
||||
onRelation(evt1, question);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user