فهرست منبع

Fix: 通知相关问题

chris 3 سال پیش
والد
کامیت
67298ea1a4
2فایلهای تغییر یافته به همراه5 افزوده شده و 3 حذف شده
  1. 4 3
      src/views/common/msg.vue
  2. 1 0
      src/views/modules/msg-center/notice.vue

+ 4 - 3
src/views/common/msg.vue

@@ -87,9 +87,10 @@
       // 跳转到消息页面
       detail (row) {
         routeMsg(this, row)
-        if (row.type === 3) {
-          readNotice(this, row.noticeId)
-        }
+        readNotice(this, row.noticeId)
+        // if (row.type === 3) {
+        //   readNotice(this, row.noticeId)
+        // }
         if (this.notify) {
           this.notify.close()
         }

+ 1 - 0
src/views/modules/msg-center/notice.vue

@@ -150,6 +150,7 @@
       },
       // 查看消息
       detailHandle (row) {
+        this.checkHandle(row.noticeId)
         routeMsg(this, row)
       },
       timestampToTime (l) {