lilei 2 vuotta sitten
vanhempi
commit
10d9c7c091
2 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. 1 1
      public/version.json
  2. 4 2
      src/layouts/BasicLayout.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1663841283728
+  "version": 1663842524299
 }

+ 4 - 2
src/layouts/BasicLayout.vue

@@ -229,8 +229,10 @@ export default {
     wsMessage (a, b) {
       if (a !== b && a) {
         // 新未读消息
-        if (a.type == 'new_remind' && this.nowRoute.indexOf('notice') < 0) {
-          this.getNotes()
+        if (a.type == 'new_remind') {
+          if (this.nowRoute.indexOf('notice') < 0) {
+            this.getNotes()
+          }
           // 播放音效
           this.playAudio()
         }