From 885e8b1de0bc5fa74aec6a2385eed397a7446970 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Thu, 3 Nov 2022 15:07:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Portal/interactBar.vue | 7 +++++-- src/components/Portal/noteComment.vue | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/Portal/interactBar.vue b/src/components/Portal/interactBar.vue index 612ca517..ba6c7a3e 100644 --- a/src/components/Portal/interactBar.vue +++ b/src/components/Portal/interactBar.vue @@ -270,12 +270,15 @@ export default { if(this.type==30){ content='案例评论' } - if(this.type==60 || this.type==10 || this.type==20 || this.type==30) { - content=sendName+typeText+content + // 评论点赞通知没有关联id,评论通知暂时关闭 + if(this.type==60 || this.type==10 || this.type==20 || this.type==30 || this.type == 6) { + return; + // content=sendName+typeText+content } else { content=sendName+typeText+content+'-'+title } + let message={ content, refId, diff --git a/src/components/Portal/noteComment.vue b/src/components/Portal/noteComment.vue index 0d9dbcde..85a6aabb 100644 --- a/src/components/Portal/noteComment.vue +++ b/src/components/Portal/noteComment.vue @@ -20,7 +20,7 @@