From df94c4b556da985798ede9c611bc51005514bdbd Mon Sep 17 00:00:00 2001 From: WN <56852884+1720360649@users.noreply.github.com> Date: Fri, 26 May 2023 16:47:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20index.vue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/psychological-questionnaire/index.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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', {