This commit is contained in:
杨航
2025-08-21 11:34:46 +08:00
parent 39af19d7e9
commit fc8153002b
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -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);
};