浏览代码

feat: 点击后关闭消息通知

zhangyuhan 2 年之前
父节点
当前提交
4dca3a2e28
共有 1 个文件被更改,包括 1 次插入0 次删除
  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'