diff --git a/src/views/psychological-questionnaire/index.vue b/src/views/psychological-questionnaire/index.vue index 27b1504..acb4d61 100644 --- a/src/views/psychological-questionnaire/index.vue +++ b/src/views/psychological-questionnaire/index.vue @@ -4,11 +4,13 @@
@@ -187,7 +189,10 @@ export default { this.topic.forEach((item) => { temp.answer.push({ qid: item.QId, //问卷题目编号 - value: typeof item.select == 'object' ? item.select.join(',') : item.select, //用户所选答案的 id + value: + typeof item.select == 'object' + ? item.select.join(',') + : item.select, //用户所选答案的 id }) }) let re = await this.api('/api/Question/Rsults', {