From 52f6fe2748fdb1d2ff756065435fefa8f4b05360 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Tue, 18 Jan 2022 10:21:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=9D=E9=A2=98=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../visual/communityGovern/cpt/issue-info.vue | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/views/modules/visual/communityGovern/cpt/issue-info.vue b/src/views/modules/visual/communityGovern/cpt/issue-info.vue index 6ebd7d49..c5f55a89 100644 --- a/src/views/modules/visual/communityGovern/cpt/issue-info.vue +++ b/src/views/modules/visual/communityGovern/cpt/issue-info.vue @@ -23,7 +23,8 @@ {{ info.issueSuggestion }} -
+
话题内容:
{{ info.topicInfo.topicContent }}
@@ -43,7 +44,8 @@ 所属网格: {{ info.belongsGridName}}
-
+
话题发表人: {{ info.topicInfo.publishedUser}}
@@ -51,11 +53,13 @@ 议题发起人: {{ info.issueInitiator}}
-
+
话题来源: {{ info.topicInfo.groupName}}
-
+
话题发表时间: {{ info.topicInfo.publishedTimeShow}}
@@ -181,8 +185,10 @@ export default { if (code === 0) { this.info = data - this.info.topicInfo.publishedTimeShow = dateFormat(new Date(this.info.topicInfo.publishedTime * 1000), "yyyy-MM-dd") + if (this.info.topicInfo && this.info.topicInfo.publishedTime) { + this.info.topicInfo.publishedTimeShow = dateFormat(new Date(this.info.topicInfo.publishedTime * 1000), "yyyy-MM-dd") + } } else { this.$message.error(msg); }