From 55536e915dcff15da59d7a01a46007a04911ef53 Mon Sep 17 00:00:00 2001 From: lucky Date: Sat, 20 Feb 2021 15:51:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E8=81=94PT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Meeting/Meeting.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/Meeting/Meeting.vue b/src/views/Meeting/Meeting.vue index 5a1b3fb..04284b5 100644 --- a/src/views/Meeting/Meeting.vue +++ b/src/views/Meeting/Meeting.vue @@ -202,14 +202,14 @@ export default { const { data, msg, code } = res.data; if (code === 200) { console.log('查看会议纪要data: ', data); - data.discussionContent = this.discussionContent; - data.endTime = this.endTime; - data.host = this.host; - data.meetingMinutes = this.meetingMinutes; - data.participants = this.participants; - data.place = this.place; - data.startTime = this.startTime; - data.taskId = this.taskId; + this.discussionContent = data.discussionContent ? data.discussionContent : ''; + this.endTime = this.endTime ? this.endTime : ''; + this.host = this.host ? this.host : ''; + this.meetingMinutes = this.meetingMinutes ? this.meetingMinutes : ''; + this.participants = this.participants ? this.participants : ''; + this.place = this.place ? this.place : ''; + this.startTime = this.startTime ? this.startTime : ''; + this.taskId = this.taskId ? this.taskId : ''; } else { throw msg; }