From 07277f0754cee7cb41c4aa5bacee4ce377c23dce Mon Sep 17 00:00:00 2001 From: CaptainB Date: Wed, 24 Aug 2022 22:00:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AB=99=E5=86=85=E9=80=9A=E7=9F=A5=E5=BC=B9?= =?UTF-8?q?=E6=A1=86=E7=9A=84=E9=97=AE=E9=A2=98,=20=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E5=BC=B9=E5=87=BA=E5=90=8E=E6=A0=87=E4=B8=BA=E5=B7=B2=E8=AF=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1016011 --user=刘瑞斌 【消息通知】执行接口case时有时收到多条系统站内通知,有时不会弹出站内通知 https://www.tapd.cn/55049933/s/1233494 --- frontend/src/business/components/notice/Notification.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/business/components/notice/Notification.vue b/frontend/src/business/components/notice/Notification.vue index 156a25f011..d2fae2dc11 100644 --- a/frontend/src/business/components/notice/Notification.vue +++ b/frontend/src/business/components/notice/Notification.vue @@ -165,6 +165,10 @@ export default { }); this.noticeShow = true; }); + setTimeout(() => { + // 弹出之后标记成已读 + this.$get('/notification/read/' + d.id); + }, 5000) }); }); }