Browse Source

feat: 点击后关闭消息通知

zhangyuhan 2 năm trước cách đây
mục cha
commit
4dca3a2e28
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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'