mjh 4 лет назад
Родитель
Сommit
feb379b803
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/GlobalHeader.vue

+ 1 - 1
src/components/GlobalHeader.vue

@@ -102,7 +102,6 @@ export default {
       if(newData){
       if(newData){
         this.$apis.getUnreadAnnouncements()
         this.$apis.getUnreadAnnouncements()
           .then(res => {
           .then(res => {
-            console.log(res);
             this.myUnReadAnnouncements = res.data.data;
             this.myUnReadAnnouncements = res.data.data;
           });
           });
       }
       }
@@ -113,6 +112,7 @@ export default {
     if (this.isLogin) {
     if (this.isLogin) {
       this.$apis.getUnreadAnnouncements()
       this.$apis.getUnreadAnnouncements()
         .then(res => {
         .then(res => {
+          console.log(res);
           this.myUnReadAnnouncements = res.data.data;
           this.myUnReadAnnouncements = res.data.data;
         });
         });
     }
     }