diff --git a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionsPreview.vue b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionsPreview.vue index 0fc1ee59..29e4f5dc 100644 --- a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionsPreview.vue +++ b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionsPreview.vue @@ -233,7 +233,7 @@ export default { this.questionForm[v] = '' }, setFormItemData(obj) { - this.$set(this.questionForm, obj.key, obj.val) + this.$set(this.questionForm, obj.key, JSON.parse(JSON.stringify(obj.val))) this.classArr.map(i=>{ if (i.triggerId === obj.key) { let answer = null diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue index 4afa0ff3..26270015 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue @@ -326,7 +326,7 @@ export default { this.questionForm[v] = null }, setFormItemData(obj) { - this.$set(this.questionForm, obj.key, obj.val) + this.$set(this.questionForm, obj.key, JSON.parse(JSON.stringify(obj.val))) this.classArr.map(i => { if (i.triggerId === obj.key) { let answer = null