|
@@ -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;
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|