Explorar el Código

fix: debug部署情况下

mjh hace 4 años
padre
commit
feb379b803
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/GlobalHeader.vue

+ 1 - 1
src/components/GlobalHeader.vue

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