Browse Source

公告撤回禁止查看

qinchao 3 years ago
parent
commit
e0574cb11e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/modules/portal/views/home/SiteMessagePopup.vue

+ 4 - 0
src/modules/portal/views/home/SiteMessagePopup.vue

@@ -147,6 +147,10 @@ export default {
       this.$httpWithoutBar
         .get("/api/ecs_exam_work/notice/getUserNoticeList?hasRead=false")
         .then((response) => {
+          if (response.data.hasRecalled === true) {
+            response.data.title = "发送者已撤回消息:" + response.data.title;
+            response.data.content = "该消息已被发送者撤回。";
+          }
           this.siteMessages = response.data;
         });
     },