|
@@ -107,6 +107,7 @@
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
newsNumber() {
|
|
newsNumber() {
|
|
|
|
+ let that = this
|
|
that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
|
|
that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
|
|
reCommonId: this.userInfo.id,
|
|
reCommonId: this.userInfo.id,
|
|
}).then(res3 => {
|
|
}).then(res3 => {
|
|
@@ -179,10 +180,12 @@
|
|
this.newsNumber() //查询消息气泡
|
|
this.newsNumber() //查询消息气泡
|
|
})
|
|
})
|
|
.catch(res => {
|
|
.catch(res => {
|
|
|
|
+
|
|
uni.$u.toast(res.message);
|
|
uni.$u.toast(res.message);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
look() {
|
|
look() {
|
|
|
|
+ let that = this
|
|
that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
|
|
that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
|
|
reCommonId: this.userInfo.id,
|
|
reCommonId: this.userInfo.id,
|
|
}).then(res3 => {
|
|
}).then(res3 => {
|