Browse Source

feat: 点击后关闭消息通知

zhangyuhan 2 years ago
parent
commit
4dca3a2e28
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/web/staticres/js/login.js

+ 1 - 0
src/web/staticres/js/login.js

@@ -473,6 +473,7 @@ function checkCounts() {
           notify.onclick = function () {
             try {
               getMsgBuoyActive.istoReaded(datas.id)
+              notify.close()
               switch (getMsgBuoyActive.platformOS()) {
                 case 'pc':
                   location.href = '/swordfish/frontPage/messageCenter/sess/index'